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