mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 15:26:44 -06:00
oops
This commit is contained in:
parent
f664cf09c0
commit
75764e59e1
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ module.exports = (params, user: ILocalUser, app: IApp) => new Promise(async (res
|
||||||
if (viaMobileErr) return rej('invalid viaMobile');
|
if (viaMobileErr) return rej('invalid viaMobile');
|
||||||
|
|
||||||
// Get 'tags' parameter
|
// Get 'tags' parameter
|
||||||
const [tags = [], tagsErr] = $.arr($.str.optional().range(1, 32)).unique().get(params.tags);
|
const [tags = [], tagsErr] = $.arr($.str.range(1, 32)).optional().unique().get(params.tags);
|
||||||
if (tagsErr) return rej('invalid tags');
|
if (tagsErr) return rej('invalid tags');
|
||||||
|
|
||||||
// Get 'geo' parameter
|
// Get 'geo' parameter
|
||||||
|
|
Loading…
Reference in a new issue