From d3eea86bd773c5236e8a0f619639e49db846c2ba Mon Sep 17 00:00:00 2001 From: Kalista Payne Date: Thu, 24 Oct 2024 15:00:09 -0500 Subject: [PATCH] fix(subs): fix typeError --- website/client/src/router/handleRedirect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/client/src/router/handleRedirect.js b/website/client/src/router/handleRedirect.js index e580298766..dbdd9f5b5e 100644 --- a/website/client/src/router/handleRedirect.js +++ b/website/client/src/router/handleRedirect.js @@ -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' }); }