Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fixed

kruzhambuse655e70298d8
diff --git a/src/api/index.js b/src/api/index.js
index 1ed72663a..13fcb4eb1 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -189,7 +189,7 @@ export const createNewPassword = (id, password) =>
export const verifyEmail = ({ path, id }) =>
api
- .get(`v1/auth/${path}/${id}`)
+ .get(`v1/auth/verify-email/${id}`)
.then((response) => response.data)
.catch((error) => {
debug('%s', error)
diff --git a/src/redux/sagas/auth/workers/verifyEmail.js b/src/redux/sagas/auth/workers/verifyEmail.js
index 5ca09fdb8..4b4d526f3 100644
--- a/src/redux/sagas/auth/workers/verifyEmail.js
+++ b/src/redux/sagas/auth/workers/verifyEmail.js
@@ -5,6 +5,7 @@ import { verifyEmail } from 'api'
export default function* verifyEmailWorker({ payload: { data, successfulCallback, errorCallback } }) {
try {
+ console.log('verifyEmailWorker', data)
yield call(verifyEmail, data)
yield put(authActions.emailVerifySuccess())
successfulCallback()