Merge pull request #128 from PretendoNetwork/api-return-user-stripe-tier
Some checks are pending
Build and Publish Docker Image / build-publish (push) Waiting to run

Return the PNID's Stripe tier name and level from the PNID details API
This commit is contained in:
William Oldham 2025-01-29 19:50:12 +00:00 committed by GitHub
commit cafea2ffa9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}
}
});