Skip to content

Commit 44ba5e8

Browse files
committed
Merge pull request #10 from arnaudlimbourg/patch-2
Fix wrong method call
2 parents 6533665 + abe5b93 commit 44ba5e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def update_obj_index(self, instance):
174174
# Should not index, but since we don't now the state of the
175175
# instance, we need to send a DELETE request to ensure that if
176176
# the instance was previously indexed, it will be removed.
177-
self.delete_obj_index(self, instance)
177+
self.delete_obj_index(instance)
178178
return
179179

180180
obj = self._build_object(instance)

0 commit comments

Comments
 (0)