activation on POST methdo

parent 4bcf09fb
Showing with 1 additions and 1 deletions
...@@ -41,7 +41,7 @@ module.exports.routes = { ...@@ -41,7 +41,7 @@ module.exports.routes = {
'GET /license/:email': 'LicenseController.getByEmail', 'GET /license/:email': 'LicenseController.getByEmail',
'POST /license': 'LicenseController.create', 'POST /license': 'LicenseController.create',
'GET /license/:number/stu/:id_stu': 'LicenseController.activate', 'POST /license/:number/stu/:id_stu': 'LicenseController.activate',
'PUT /method/:id': 'MethodController.update', 'PUT /method/:id': 'MethodController.update',
'POST /method': 'MethodController.create', 'POST /method': 'MethodController.create',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment