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 path to 'receive login notifications' endpoint (#323)

Maksim Mrug3d93b7712832
diff --git a/app/api/index.ts b/app/api/index.ts
index c8267ff24..3e43bce32 100644
--- a/app/api/index.ts
+++ b/app/api/index.ts
@@ -1071,7 +1071,7 @@ export const resetFilters = (pid: string, type: string, filters: string[]) =>
export const reciveLoginNotification = (recive: boolean) =>
api
- .post('user/login-notification', { recive })
+ .post('user/recieve-login-notifications', { recive })
.then((response) => response.data)
.catch((error) => {
debug('%s', error)