Fix missing awaits on transaction.commit()
[ndcode_site.git] / my_account / password_reset / index.html.jst
index 55263ba..1ed05fa 100644 (file)
@@ -14,7 +14,7 @@ return async env => {
     let root = await transaction.get({})
     let session = await get_session(env, root)
     placeholder = await get_placeholder(env, session)
-    transaction.commit()
+    await transaction.commit()
   }
   catch (error) {
     transaction.rollback()