From 1bf0f6fd810408c89a6de7a19eee620fdc188c9d Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Thu, 14 Nov 2024 21:49:46 +0100 Subject: [PATCH] Pass salesforce client to sync action --- pretalx_salesforce/sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pretalx_salesforce/sync.py b/pretalx_salesforce/sync.py index b8069a1..c14ddf0 100644 --- a/pretalx_salesforce/sync.py +++ b/pretalx_salesforce/sync.py @@ -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): @@ -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)