📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Added GDPR report endpoint
Blaumausf8ea2f092435
diff --git a/src/api/index.js b/src/api/index.jsindex d74c079e1..9ce964917 100644--- a/src/api/index.js+++ b/src/api/index.js@@ -95,9 +95,17 @@ export const confirmEmail = () =>throw new Error(error.response.data.message)})+export const exportUserData = () =>+ api+ .get('/user/export')+ .then(response => response.data)+ .catch(error => {+ throw new Error(error.response.data.message)+ })+export const createNewPassword = (id, password) =>api- .post(`/auth/password-reset/${id}`, password)+ .post(`/auth/password-reset/${id}`, { password }).then((response) => response.data).catch((error) => {const errorsArray = error.response.data.message