Skip to content

Commit b9b052c

Browse files
author
Ajit Kumar
committed
fix: unable to buy plugins (hot fix)
1 parent 9fc6655 commit b9b052c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/apis/razorpay.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ router.post('/create-order', async (req, res) => {
6363
return;
6464
}
6565

66-
if (plugin[Plugin.STATUS] !== Plugin.STATUS_APPROVED) {
66+
if (plugin[Plugin.STATUS] !== 'approved') {
6767
res.status(400).send({ error: 'You can not buy this plugin, please try again later' });
6868
return;
6969
}

0 commit comments

Comments
 (0)