Fix: Use correct API path for test email

This commit is contained in:
Tola Leng
2025-06-17 21:49:43 +08:00
parent e3f9111484
commit 6d1b8387ca
+1 -1
View File
@@ -19,7 +19,7 @@ const api = {
return await realtime(body);
} else if (path === '/api/settings' || path.startsWith('/api/settings/')) {
console.log("Routing to settings handler");
return await settingsApi(body);
return await settingsApi(body, path);
}
// Return 404 for unknown routes