fix(notifications): correct subscription CTA path to /dashboard/subscription
Some checks failed
QA Gate (P0/P1) / Test affected app (pull_request) Has been cancelled
Some checks failed
QA Gate (P0/P1) / Test affected app (pull_request) Has been cancelled
The trial-ending / payment-success / payment-failed emails were pointing to /dashboard/settings?tab=subscription which does not exist; the correct path is /dashboard/subscription. Referral paths are unchanged. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -64,7 +64,7 @@ async function sendTrialEnding(db: Database, now: Date): Promise<number> {
|
||||
ctaUrl: buildTrackedUrl(
|
||||
"trial-ending",
|
||||
r.email,
|
||||
webUrl("/dashboard/settings?tab=subscription"),
|
||||
webUrl("/dashboard/subscription"),
|
||||
),
|
||||
},
|
||||
);
|
||||
|
||||
@@ -123,7 +123,7 @@ export class NovuService {
|
||||
ctaUrl: buildTrackedUrl(
|
||||
"payment-success",
|
||||
user.email,
|
||||
webUrl("/dashboard/settings?tab=subscription"),
|
||||
webUrl("/dashboard/subscription"),
|
||||
),
|
||||
});
|
||||
}
|
||||
@@ -139,7 +139,7 @@ export class NovuService {
|
||||
ctaUrl: buildTrackedUrl(
|
||||
"payment-failed",
|
||||
user.email,
|
||||
webUrl("/dashboard/settings?tab=subscription"),
|
||||
webUrl("/dashboard/subscription"),
|
||||
),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user