From f5c1c0ae4428f99256ce4911dc83fd4f6bd88696 Mon Sep 17 00:00:00 2001 From: Syeda Anshrah Gillani Date: Mon, 26 Jan 2026 23:01:36 +0500 Subject: [PATCH] fix: await subscription checks --- packages/lib/queries.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lib/queries.ts b/packages/lib/queries.ts index 254b3bc9..68308504 100644 --- a/packages/lib/queries.ts +++ b/packages/lib/queries.ts @@ -23,7 +23,7 @@ export const fetchSubscriptionStatus = ( await Promise.all( allPlans.map(async (plan) => { try { - const res = autumn.check({ + const res = await autumn.check({ productId: plan, }) const allowed = res.data?.allowed ?? false