Did stuff, fixed things. This seems to work now.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2023-12-15 13:14:53 -05:00
parent b72ae4374f
commit 61d294292b
2 changed files with 8 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ def _create_service_invite(invited_user, invite_link_host):
template_id = current_app.config["INVITATION_EMAIL_TEMPLATE_ID"]
template = dao_get_template_by_id(template_id)
service = Service.query.get(current_app.config["NOTIFY_SERVICE_ID"])
saved_notification = persist_notification(
@@ -116,6 +117,7 @@ def resend_service_invite(service_id, invited_user_id):
current_data = {k: v for k, v in invited_user_schema.dump(fetched).items()}
update_dict = invited_user_schema.load(current_data)
save_invited_user(update_dict)
_create_service_invite(fetched, current_app.config["ADMIN_BASE_URL"])