fix: profile update api schema to allow null language field #1

Closed
sup39 wants to merge 1 commit from fix/profile-update-api-schema into main

View file

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