'Assign to me by default' toggle in Account.tsx

This commit is contained in:
2026-01-29 22:43:02 +00:00
parent 130f564c33
commit e339274069
10 changed files with 1418 additions and 5 deletions

View File

@@ -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();