everydaycats commited on
Commit
bae29e3
·
verified ·
1 Parent(s): ec05ee9

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +1 -1
app.js CHANGED
@@ -95,7 +95,7 @@ async function checkMinimumCredits(userId, type = 'basic') {
95
 
96
  res.status(500).json({
97
  insufficient: true,
98
- error:`Insufficient ${type} credits. You have ${credits}, need minimum ${required} to proceed.`;
99
 
100
  });
101
  // throw new Error(`Insufficient ${type} credits. You have ${credits}, need minimum ${required} to proceed.`);
 
95
 
96
  res.status(500).json({
97
  insufficient: true,
98
+ error:`Insufficient ${type} credits. You have ${credits}, need minimum ${required} to proceed.`
99
 
100
  });
101
  // throw new Error(`Insufficient ${type} credits. You have ${credits}, need minimum ${required} to proceed.`);