diff --git a/apps/api/v1/services/user.service.ts b/apps/api/v1/services/user.service.ts index 9b068a0..d925297 100644 --- a/apps/api/v1/services/user.service.ts +++ b/apps/api/v1/services/user.service.ts @@ -102,7 +102,7 @@ export async function syncAllUsersSubscription() { } /** @alias getUserEntitlement */ -export const getUserPlan = (user: User): UserEntitlement => { +export function getUserPlan(user: User): UserEntitlement { return (user.entitlement as UserEntitlement) ?? 'saver' } /** @alias getUserPlan */