Change arguments to args everywhere, as arguments is a reserved word in strict
[ndcode_site.git] / my_account / verify_email / index.html.jst
index 7f33b44..f0a953f 100644 (file)
@@ -108,9 +108,9 @@ return async env => {
       //script(src="/js/api_call.js") {}
 
       script {
-        let api_account_sign_up_verify_email = async (...arguments) => api_call(
+        let api_account_sign_up_verify_email = async (...args) => api_call(
           '/api/account/sign_up/verify_email.json',
-          ...arguments
+          ...args
         )
 
         let step_1 = async () => {