fix: no default for user settings so if not specified it saves the current value
This commit is contained in:
		| @@ -8,10 +8,10 @@ export const themes = [Type.Literal('light'), Type.Literal('dark')] | |||||||
|  |  | ||||||
| export const userSettingsSchema = { | export const userSettingsSchema = { | ||||||
|   id, |   id, | ||||||
|   language: Type.Union(languages, { default: 'en' }), |   language: Type.Union(languages), | ||||||
|   theme: Type.Union(themes, { default: 'dark' }), |   theme: Type.Union(themes), | ||||||
|   isPublicEmail: Type.Boolean({ default: false }), |   isPublicEmail: Type.Boolean(), | ||||||
|   isPublicGuilds: Type.Boolean({ default: false }), |   isPublicGuilds: Type.Boolean(), | ||||||
|   createdAt: date.createdAt, |   createdAt: date.createdAt, | ||||||
|   updatedAt: date.updatedAt, |   updatedAt: date.updatedAt, | ||||||
|   userId: id |   userId: id | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user