public
/
ndcode_site.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix missing awaits on transaction.commit()
[ndcode_site.git]
/
my_account
/
password_reset
/
index.html.jst
diff --git
a/my_account/password_reset/index.html.jst
b/my_account/password_reset/index.html.jst
index
55263ba
..
1ed05fa
100644
(file)
--- a/
my_account/password_reset/index.html.jst
+++ b/
my_account/password_reset/index.html.jst
@@
-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()