Skip to content

Commit

Permalink
Pass salesforce client to sync action
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Nov 14, 2024
1 parent b627403 commit 1bf0f6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pretalx_salesforce/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def salesforce_full_speaker_sync(sf, event):
except SpeakerProfileSalesforceSync.DoesNotExist:
sync = SpeakerProfileSalesforceSync.objects.create(profile=profile)

sync.sync()
sync.sync(sf=sf)


def salesforce_full_submission_sync(sf, event):
Expand All @@ -129,4 +129,4 @@ def salesforce_full_submission_sync(sf, event):
except SubmissionSalesforceSync.DoesNotExist:
sync = SubmissionSalesforceSync.objects.create(submission=submission)

sync.sync()
sync.sync(sf=sf)

0 comments on commit 1bf0f6f

Please sign in to comment.