fix(subs): fix typeError

This commit is contained in:
Kalista Payne
2024-10-24 15:00:09 -05:00
parent e3ae9a2d67
commit d3eea86bd7
+1 -1
View File
@@ -29,7 +29,7 @@ export default function handleRedirect (to, from, next) {
});
}
if (newAppState.paymentType.contains('subscription')) {
if (newAppState.paymentType === 'subscription' || newAppState.paymentType === 'gift-subscription') {
return next({ name: 'subscription' });
}