Fix missing awaits on transaction.commit()
[ndcode_site.git] / my_account / index.html.jst
index 452516d..d03c303 100644 (file)
@@ -39,7 +39,7 @@ return async env => {
     if (change_details_draft === undefined || env.now >= change_details_draft.expires)
       change_details_draft = null
 
-    transaction.commit()
+    await transaction.commit()
   }
   catch (error) {
     transaction.rollback()