Skip to content

Commit

Permalink
chore(api): change const getUserPlan to function (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
duongdev authored Sep 23, 2024
1 parent 94966f5 commit e4fd301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/v1/services/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit e4fd301

Please sign in to comment.