Updated Firebase to use a service account depending on the environment

This commit is contained in:
Tiago Ribeiro
2024-05-29 09:06:46 +01:00
parent f0b85409c9
commit 975f4c8285
4 changed files with 21 additions and 6 deletions

View File

@@ -91,7 +91,8 @@ export default function UserList({user, filters = []}: {user: User; filters?: ((
})
.catch(() => {
toast.error("Something went wrong!", {toastId: "delete-error"});
});
})
.finally(reload);
};
const updateAccountType = (user: User, type: Type) => {