Merge pull request from GHSA-hqqp-gpqw-9w5c

This commit is contained in:
Madeline
2023-02-02 22:24:56 +11:00
committed by GitHub
parent cf04de4add
commit 067d2d8be8
5 changed files with 20 additions and 22 deletions
+4
View File
@@ -33,5 +33,9 @@ export interface UserModifySchema {
new_password?: string;
code?: string;
email?: string;
/**
* @minLength 4
* @maxLength 4
*/
discriminator?: string;
}
+1 -1
View File
@@ -18,4 +18,4 @@
import { UserSettings } from "@fosscord/util";
export type UserSettingsSchema = Partial<UserSettings>;
export type UserSettingsSchema = Omit<Partial<UserSettings>, "index">;