mirror of
https://github.com/wekan/wekan.git
synced 2026-01-27 11:46:10 +01:00
Createtoken API: Added better description and deleted extra file.
Thanks to magicbelette and xet7 ! Fixes #2887
This commit is contained in:
parent
d8c8856548
commit
3774060d32
3 changed files with 7 additions and 2 deletions
|
|
@ -1768,7 +1768,7 @@ if (Meteor.isServer) {
|
|||
*
|
||||
* @description Only the admin user (the first user) can call the REST API.
|
||||
*
|
||||
* @param {string} userId the ID of the user to delete
|
||||
* @param {string} userId the ID of the user to create token for.
|
||||
* @return_type {_id: string}
|
||||
*/
|
||||
JsonRoutes.add('POST', '/api/createtoken/:userId', function(req, res) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue