1
0
forked from mirror/misskey

fix(backend): fieldsの誤った定義を修正 (#10737)

This commit is contained in:
okayurisotto 2023-05-02 21:14:22 +09:00 committed by GitHub
parent bcd123371b
commit 43593603f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,6 +148,7 @@ export const packedUserDetailedNotMeOnlySchema = {
fields: { fields: {
type: 'array', type: 'array',
nullable: false, optional: false, nullable: false, optional: false,
maxItems: 16,
items: { items: {
type: 'object', type: 'object',
nullable: false, optional: false, nullable: false, optional: false,
@ -161,7 +162,6 @@ export const packedUserDetailedNotMeOnlySchema = {
nullable: false, optional: false, nullable: false, optional: false,
}, },
}, },
maxLength: 4,
}, },
}, },
followersCount: { followersCount: {