Fix transaction handling bugs
[ndcode_site.git] / feedback.html.jst
index 38fe202..b7b68e6 100644 (file)
@@ -24,7 +24,7 @@ return async env => {
     date = new XDate()
     query.date = date.toUTCString()
 
-    let transaction = env.site.database.Transaction()
+    let transaction = await env.site.database.Transaction()
     ;(
       await (
         await (