Browse Source

use get not put

kaori 4 năm trước cách đây
mục cha
commit
ce74011f3c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/server/routes/apiv3/password.js

+ 1 - 1
src/server/routes/apiv3/password.js

@@ -5,7 +5,7 @@ const router = express.Router();
 
 module.exports = (crowi) => {
 
-  router.put('/', async(req, res) => {
+  router.get('/', async(req, res) => {
     return res.apiv3({ hoge: 'hoge' });
   });