mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04: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
|
@ -724,7 +724,12 @@ Cards.helpers({
|
|||
definition,
|
||||
};
|
||||
});
|
||||
ret.sort((a, b) => a.definition.name !== undefined && b.definition.name !== undefined && a.definition.name.localeCompare(b.definition.name));
|
||||
ret.sort(
|
||||
(a, b) =>
|
||||
a.definition.name !== undefined &&
|
||||
b.definition.name !== undefined &&
|
||||
a.definition.name.localeCompare(b.definition.name),
|
||||
);
|
||||
return ret;
|
||||
},
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
BIN
photorec.ses
BIN
photorec.ses
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue