Skip to content

Commit

Permalink
Update src/stores/AccountController.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Danny Budzinski <[email protected]>
  • Loading branch information
darkoatanasovski and dbudzins authored Dec 7, 2022
1 parent b88601e commit 867ac63
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/stores/AccountController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,12 +300,6 @@ export const updateCaptureAnswers = async (capture: Capture) => {
});
};

export const setCanUpdateEmail = async () => {
await withAccountService(async ({ accountService }) => {
useAccountStore.setState({ canUpdateEmail: accountService.canUpdateEmail() });
});
};

export const resetPassword = async (email: string, resetUrl: string) => {
return await useConfig(async ({ cleengId, cleengSandbox }) => {
const response = await cleengAccountService.resetPassword(
Expand Down

0 comments on commit 867ac63

Please sign in to comment.