From b6f73a1121ba6917462af702d646346d48acf3c1 Mon Sep 17 00:00:00 2001 From: bymyself Date: Thu, 11 Dec 2025 00:49:44 -0800 Subject: [PATCH] fix: await JSON parsing in checkout API call Ensures parsing errors are caught by surrounding try-catch for consistent error handling --- src/platform/cloud/subscription/components/PricingTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/cloud/subscription/components/PricingTable.vue b/src/platform/cloud/subscription/components/PricingTable.vue index 74b8ae170c..2569c7584a 100644 --- a/src/platform/cloud/subscription/components/PricingTable.vue +++ b/src/platform/cloud/subscription/components/PricingTable.vue @@ -231,7 +231,7 @@ const initiateCheckout = async (tierKey: TierKey) => { ) } - return response.json() + return await response.json() } const handleSubscribe = wrapWithErrorHandlingAsync(