added bg feature

This commit is contained in:
2026-04-13 14:49:12 +05:30
parent 34254f94f9
commit 1353dfc69d
9 changed files with 750 additions and 16 deletions

View File

@@ -70,7 +70,7 @@ export async function getUserByEmail(email: string, token: string) {
export async function updateUserProfile(
userId: string,
updates: { displayName?: string; photoURL?: string; theme?: string; tutorial?: boolean },
updates: { displayName?: string; photoURL?: string; theme?: string; tutorial?: boolean; backgroundImage?: string | null; backgroundImages?: string[] },
token: string
) {
return apiCall(`/users/${userId}`, {