From cc35eb4017617e5f673698a287cc2585c1680b1f Mon Sep 17 00:00:00 2001 From: tonyrewin Date: Sat, 17 Sep 2022 22:15:55 +0300 Subject: [PATCH] auth minor fix --- src/components/Nav/AuthModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Nav/AuthModal.tsx b/src/components/Nav/AuthModal.tsx index f4b47e10..5de46d39 100644 --- a/src/components/Nav/AuthModal.tsx +++ b/src/components/Nav/AuthModal.tsx @@ -99,7 +99,7 @@ export default (props: { code?: string; mode?: string }) => { setError(t('Passwords are not equal')) } else { // FIXME use store actions - const r = await apiClient.signUp({ + const r = await apiClient.authRegiser({ email: emailElement?.value, password: passElement?.value })