public
/
ndcode_site.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make get_session() readonly and throw an exception if session cannot be found rather...
[ndcode_site.git]
/
api
/
account
/
sign_up
/
set_draft.json.jst
diff --git
a/api/account/sign_up/set_draft.json.jst
b/api/account/sign_up/set_draft.json.jst
index
ac20f8e
..
c09cdd5
100644
(file)
--- a/
api/account/sign_up/set_draft.json.jst
+++ b/
api/account/sign_up/set_draft.json.jst
@@
-21,7
+21,7
@@
return async env => {
let transaction = await env.site.database.Transaction()
try {
- let root = await transaction.get(
{}
)
+ let root = await transaction.get()
let session = await get_session(env, root)
if (details) {