Implement feedback as a JSON API, fix missing await on all post_request() calls
[ndcode_site.git] / api / password_reset.json.jst
index 6f778fc..b439a17 100644 (file)
@@ -11,7 +11,7 @@ return async env => {
   let session_cookie = await _require('/_lib/session_cookie.jst')
   let Problem = await _require('/_lib/Problem.jst')
 
-  post_request(
+  await post_request(
     // env
     env,
     // endpoint