mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-04-26 08:16:15 -05:00
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
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:
commit
cafea2ffa9
|
|
@ -62,6 +62,10 @@ router.get('/', async (request: express.Request, response: express.Response): Pr
|
||||||
connections: {
|
connections: {
|
||||||
discord: {
|
discord: {
|
||||||
id: pnid.connections.discord.id
|
id: pnid.connections.discord.id
|
||||||
|
},
|
||||||
|
stripe: {
|
||||||
|
tier_name: pnid.connections.stripe.tier_name,
|
||||||
|
tier_level: pnid.connections.stripe.tier_level
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user