Skip to content

Commit

Permalink
Fix backend id
Browse files Browse the repository at this point in the history
  • Loading branch information
lasley committed Oct 26, 2016
1 parent b5d0180 commit 1308db2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connector_carepoint/models/carepoint_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,12 @@ def resync_all(self, binding_model):
)

@api.model
def force_sync(self, binding_model, remote_pk, backend):
def force_sync(self, binding_model, remote_pk, backend_id):
""" Force sycronization based on model and primary key """
session = self.__get_model_session()
import_record.delay(session,
binding_model,
backend.id,
backend_id,
remote_pk,
force=True,
)
Expand Down

0 comments on commit 1308db2

Please sign in to comment.