From 322e0a703fa1c50a9dcf0a3f12e7901c9fa76e79 Mon Sep 17 00:00:00 2001 From: Karl Burke Date: Thu, 26 May 2022 10:47:07 -0400 Subject: [PATCH] Restore missing submission_id field to JSON response when created for a new UUID request. --- src/uuid_worker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uuid_worker.py b/src/uuid_worker.py index f759392..91a4c1d 100644 --- a/src/uuid_worker.py +++ b/src/uuid_worker.py @@ -618,8 +618,8 @@ def newUUIDs(self, parentIDs, entityType, userId, userEmail, nIds, organ_code=No else: ins_app_base_id = None - # if gen_submission_ids: - # thisId["submission_id"] = submission_ids[n] + if gen_submission_ids: + thisId["submission_id"] = submission_ids[n] # insRow = (insUuid, ins_app_base_id, entityType, now, userId, userEmail, submission_ids[n]) # else: # insRow = (insUuid, ins_app_base_id, entityType, now, userId, userEmail)