diff --git a/functions/src/userUpdates/index.ts b/functions/src/userUpdates/index.ts index 9b05f131c2..27f3c1b925 100644 --- a/functions/src/userUpdates/index.ts +++ b/functions/src/userUpdates/index.ts @@ -12,8 +12,8 @@ import { backupUser } from './backupUser' export const handleUserUpdates = functions.firestore .document(`${DB_ENDPOINTS.users}/{id}`) .onUpdate(async (change, context) => { - await processCountryUpdates(change) await backupUser(change) + await processCountryUpdates(change) }) async function processCountryUpdates(change: IDBDocChange) {