From 7f956c8aea6ff642ba65e698540e366f242a828e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= Date: Mon, 29 Jan 2024 13:53:05 +0100 Subject: [PATCH] verification: Commit direct upload switch to the database --- backend/app/verification.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/app/verification.py b/backend/app/verification.py index 0f81efa98..46f85b505 100644 --- a/backend/app/verification.py +++ b/backend/app/verification.py @@ -930,6 +930,7 @@ def switch_to_direct_upload( if is_verified and not is_direct_upload: _create_direct_upload_app(login.user, app_id) _archive_github_repo(app_id) + sqldb.session.commit() @router.post("/{app_id}/archive", status_code=204, tags=["verification"])