diff --git a/lib/validations/user.ts b/lib/validations/user.ts index 8e0689ff3d..25810f27c6 100644 --- a/lib/validations/user.ts +++ b/lib/validations/user.ts @@ -80,6 +80,7 @@ export const schemaUserBaseBodyParams = User.pick({ darkBrandColor: true, allowDynamicBooking: true, away: true, + role: true, // @note: disallowing avatar changes via API for now. We can add it later if needed. User should upload image via UI. // avatar: true, }).partial();