fix: update profile without setting language

This commit is contained in:
sup39 2023-12-27 17:16:47 +09:00
parent 07c905c33e
commit e30f1c13fa
Signed by: sup39
GPG key ID: 111C00916C1641E5

View file

@ -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 },