diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-04-18 01:18:05 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-04-18 01:18:05 +1000 |
commit | cec495cc5f1083a43330a56b65d4eba67d376dbf (patch) | |
tree | 1619815f5ae7edbdc5891bfe775c70b936030318 /src/util/schemas/UserProfileModifySchema.ts | |
parent | Rewrite getRouteDescriptions, fix message route not appearing in openapi spec (diff) | |
download | server-cec495cc5f1083a43330a56b65d4eba67d376dbf.tar.xz |
Enforce theme_colors to be ints
Diffstat (limited to 'src/util/schemas/UserProfileModifySchema.ts')
-rw-r--r-- | src/util/schemas/UserProfileModifySchema.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/util/schemas/UserProfileModifySchema.ts b/src/util/schemas/UserProfileModifySchema.ts index 6f6777dd..3dea257a 100644 --- a/src/util/schemas/UserProfileModifySchema.ts +++ b/src/util/schemas/UserProfileModifySchema.ts @@ -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]; } |