Make get_session() readonly and throw an exception if session cannot be found rather...
[ndcode_site.git] / my_account / verify_email / index.html.jst
index 23bc712..e618f33 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)
     transaction.commit()