mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-07 03:12:39 +01:00
🚧 fix /users/@me patch route
This commit is contained in:
parent
f5c6b6166b
commit
b1a58ba7bd
@ -5,7 +5,10 @@ export const UserModifySchema = {
|
||||
$avatar: String,
|
||||
$bio: new Length(String, 0, 190),
|
||||
$accent_color: Number,
|
||||
$banner: String
|
||||
$banner: String,
|
||||
$password: String,
|
||||
$new_password: String,
|
||||
$code: String // 2fa code
|
||||
};
|
||||
|
||||
export interface UserModifySchema {
|
||||
@ -14,4 +17,7 @@ export interface UserModifySchema {
|
||||
bio?: string;
|
||||
accent_color?: number | null;
|
||||
banner?: string | null;
|
||||
password?: string;
|
||||
new_password?: string;
|
||||
code?: string;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user