mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-31 02:55:39 +00:00
Enforce theme_colors to be ints
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -22,8 +22,7 @@ export interface MemberChangeProfileSchema {
|
||||
bio?: string;
|
||||
pronouns?: string;
|
||||
/**
|
||||
* @minItems 2
|
||||
* @maxItems 2
|
||||
* @items.type integer
|
||||
*/
|
||||
theme_colors?: number[]; // puyo: changed from [number, number] because it breaks openapi
|
||||
theme_colors?: [number, number];
|
||||
}
|
||||
|
||||
@@ -22,8 +22,7 @@ export interface UserProfileModifySchema {
|
||||
banner?: string | null;
|
||||
pronouns?: string;
|
||||
/**
|
||||
* @minItems 2
|
||||
* @maxItems 2
|
||||
* @items.type integer
|
||||
*/
|
||||
theme_colors?: number[]; // puyo: changed from [number, number] because it breaks openapi
|
||||
theme_colors?: [number, number];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user