fix: profile update api schema to allow null language field
This commit is contained in:
parent
07c905c33e
commit
3332836aa4
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ export const paramDef = {
|
|||
birthday: { ...Users.birthdaySchema, nullable: true },
|
||||
lang: {
|
||||
type: "string",
|
||||
enum: Object.keys(langmap),
|
||||
enum: [...Object.keys(langmap), null],
|
||||
nullable: true,
|
||||
},
|
||||
avatarId: { type: "string", format: "misskey:id", nullable: true },
|
||||
|
|
Loading…
Reference in a new issue