From 15b03ffc6c7f5d22d0e323e5abf62ad60687fb0f Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 09 Feb 2026 03:30:56 +0000
Subject: [PATCH] =Refferal.js fix endpoint to auth/magic
---
assets/js/concise/Referral.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/assets/js/concise/Referral.js b/assets/js/concise/Referral.js
index f56d939..74e4d48 100644
--- a/assets/js/concise/Referral.js
+++ b/assets/js/concise/Referral.js
@@ -663,7 +663,7 @@
if (!data.email) {
result.message = 'Please fill in your email';
} else {
- result = await this.makeRequest('magic', data);
+ result = await this.makeRequest('auth/magic', data);
}
}
@@ -682,7 +682,7 @@
async makeRequest(endpoint, data) {
const validEndpoints = [
- 'magic',
+ 'auth/magic',
'auth/register'
];
--
Gitblit v1.10.0