Skip to content

Commit d1ff25c

Browse files
author
Ajit Kumar
committed
feat(sponsor tagline)
1 parent 13b2046 commit d1ff25c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/apis/sponsor.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ router.get('/', async (req, res) => {
2828
});
2929

3030
router.post('/', async (req, res) => {
31-
const { name, tier, email, image, public: show = 0, website, packageName, purchaseToken } = req.body;
31+
const { name, tier, email, image, public: show = 0, website, packageName, purchaseToken, tagline } = req.body;
3232

3333
if (!name) {
3434
return res.status(400).json({
@@ -73,6 +73,7 @@ router.post('/', async (req, res) => {
7373
[Sponsor.PUBLIC, show],
7474
[Sponsor.IMAGE, filename],
7575
[Sponsor.WEBSITE, website],
76+
[Sponsor.TAGLINE, tagline],
7677
[Sponsor.TOKEN, purchaseToken],
7778
[Sponsor.PACKAGE_NAME, packageName],
7879
[Sponsor.ORDER_ID, purchase.orderId],

0 commit comments

Comments
 (0)