5822bd2f by Leff Tubat

Removed condition

1 parent d82cedaa
Showing 1 changed file with 0 additions and 5 deletions
...@@ -429,11 +429,6 @@ async function validation (aiwp_app_id, req, res) { ...@@ -429,11 +429,6 @@ async function validation (aiwp_app_id, req, res) {
429 return false; 429 return false;
430 } 430 }
431 } 431 }
432 if (!auth.subscription_type || auth.auth_version === 'v2') {
433 res.json({ status: "invalid" });
434 res.status(200);
435 return false;
436 }
437 let data = await getUsage({ 432 let data = await getUsage({
438 aiwp_logged_in, app: 'chatbot+' 433 aiwp_logged_in, app: 'chatbot+'
439 }); 434 });
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!