mirror of
https://github.com/hex248/sprint.git
synced 2026-02-09 02:33:02 +00:00
Merge branch 'master' into development
This commit is contained in:
@@ -39,6 +39,7 @@ export async function updateById(
|
||||
avatarURL?: string | null;
|
||||
iconPreference?: IconStyle;
|
||||
plan?: string;
|
||||
preferences?: Record<string, boolean>;
|
||||
},
|
||||
): Promise<UserRecord | undefined> {
|
||||
const [user] = await db.update(User).set(updates).where(eq(User.id, id)).returning();
|
||||
|
||||
Reference in New Issue
Block a user