Skip to content

Commit

Permalink
Merge pull request #128 from PretendoNetwork/api-return-user-stripe-tier
Browse files Browse the repository at this point in the history
Return the PNID's Stripe tier name and level from the PNID details API
  • Loading branch information
binaryoverload authored Jan 29, 2025
2 parents d170450 + 3002980 commit cafea2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/services/api/routes/v1/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ router.get('/', async (request: express.Request, response: express.Response): Pr
connections: {
discord: {
id: pnid.connections.discord.id
},
stripe: {
tier_name: pnid.connections.stripe.tier_name,
tier_level: pnid.connections.stripe.tier_level
}
}
});
Expand Down

0 comments on commit cafea2f

Please sign in to comment.