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
Showing only changes of commit 3332836aa4 - Show all commits

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