mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-01 18:50:40 +01: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');
|
||||
|
||||
// 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');
|
||||
|
||||
// Get 'geo' parameter
|
||||
|
|
Loading…
Reference in a new issue