Make get_session() readonly and throw an exception if session cannot be found rather...
[ndcode_site.git] / my_account / verify_password / index.html.jst
index a9f46bd..7b42eb1 100644 (file)
@@ -11,7 +11,7 @@ return async env => {
   let transaction = await env.site.database.Transaction()
   let placeholder
   try {
-    let root = await transaction.get({})
+    let root = await transaction.get()
     let session = await get_session(env, root)
     placeholder = await get_placeholder(env, session)
     await transaction.commit()