Skip to content

Commit

Permalink
add user subscription to profile link cache (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
vanxh authored Sep 2, 2023
1 parent 28e4bc7 commit e0bb365
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/server/api/routers/profile-link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ export const profileLinkRouter = createTRPCRouter({
user: {
select: {
providerId: true,
subscriptionEndsAt: true,
plan: true,
},
},
},
Expand Down Expand Up @@ -402,6 +404,8 @@ export const profileLinkRouter = createTRPCRouter({
user: {
select: {
providerId: true,
subscriptionEndsAt: true,
plan: true,
},
},
},
Expand Down

0 comments on commit e0bb365

Please sign in to comment.