[Route] PATCH /users/:id

This commit is contained in:
Intevel ツ
2021-05-06 22:30:47 +02:00
parent ba38a34a83
commit 8d077690d6
2 changed files with 26 additions and 2 deletions
+10
View File
@@ -41,3 +41,13 @@ export interface UserUpdateSchema {
public_flags: bigint;
guilds: string[];
}
export const UserModifySchema = {
username: String,
avatar: String || null,
};
export interface UserModifySchema {
username: string;
avatar: string | null;
}