From b1b4fbfd6d56d13e5c698e67e4489c08e19c344a Mon Sep 17 00:00:00 2001 From: mike seibel Date: Tue, 3 Sep 2024 14:36:16 -0700 Subject: [PATCH] null key_remote on subscription update --- endorsement/dao/shared_drive.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/endorsement/dao/shared_drive.py b/endorsement/dao/shared_drive.py index 3bcb68a7..3b841070 100644 --- a/endorsement/dao/shared_drive.py +++ b/endorsement/dao/shared_drive.py @@ -302,7 +302,8 @@ def load_or_update_subscription(sdr: SharedDriveRecord): ) return None # just raise? else: - sub = ITBillSubscription() + logging.info(f"Update subscription: key_remote = {key_remote}") + sub = ITBillSubscription(key_remote=key_remote) sub.save() sdr.subscription = sub sdr.update_subscription(sub_json)