mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
oops
This commit is contained in:
parent
f664cf09c0
commit
75764e59e1
@ -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 New Issue
Block a user