Structure upgrade: change nodemailer to nodemailers, and rename API endpoints
[ndcode_site.git] / api / nodemailers / get.json.jst
similarity index 93%
rename from api/nodemailer/get.json.jst
rename to api/nodemailers/get.json.jst
index 2aa421d..2aa640c 100644 (file)
@@ -22,7 +22,7 @@ return async env => {
         if (!await account.get_json('administrator'))
           throw new Problem('Unauthorized', 'Not administrator.', 401)
 
-        return /*await*/ root.get_json('nodemailer', {})
+        return /*await*/ root.get_json('nodemailers', {})
       }
       finally {
         transaction.rollback()