mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-10 09:39:36 -04:00
Update unsubscribe URL format to use path-based token instead of query parameter
This commit is contained in:
@@ -34,5 +34,5 @@ export async function createUnsubscribeToken(
|
||||
* Get the unsubscribe URL for a token
|
||||
*/
|
||||
export function getUnsubscribeUrlOneClick(token: string): string {
|
||||
return `https://${PROD_CONFIG.backendDomain}/unsubscribe?token=${token}`
|
||||
return `https://${PROD_CONFIG.backendDomain}/unsubscribe/${token}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user