diff options
author | Frederick Muriuki Muriithi | 2025-06-05 13:29:12 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-06-05 15:09:16 -0500 |
commit | 650dbc306101a4c2bd0e910e3a5c744f2f09929c (patch) | |
tree | a1f32729ad92deefb7efcc21ad5e395308ca696a /uploader | |
parent | fd997d55b745a192f9946de1a7652fd28c700280 (diff) | |
download | gn-uploader-650dbc306101a4c2bd0e910e3a5c744f2f09929c.tar.gz |
Only update authorisation after all data is entered.
Pull the auth update function out of the database connection
contextmanager to prevent any problems with an auth update from
causing a rollback of all the data.
We can always manually update the authorisation later, therefore, we
do not want a failure in that causing the (potentially) time-consuming
data entry process from being rolled back.
Diffstat (limited to 'uploader')
0 files changed, 0 insertions, 0 deletions