We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45712b4 commit 5b7ab95Copy full SHA for 5b7ab95
apps/web/components/public/payments/checkout.tsx
@@ -225,7 +225,9 @@ export default function Checkout({
225
);
226
}
227
if (product.type === Constants.MembershipEntityType.COURSE) {
228
- router.replace(`/course/${product.id}?success=true`);
+ router.replace(
229
+ `/course/${product.slug}/${product.id}?success=true`,
230
+ );
231
232
233
} catch (err) {
@@ -492,7 +494,7 @@ export default function Checkout({
492
494
.COURSE
493
495
) {
496
router.replace(
- `/course/${product.id}`,
497
+ `/course/${product.slug}/${product.id}`,
498
499
500
}}
0 commit comments