From 01cf6d6fbe7dba034fe0766be3066e303511f28b Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Mon, 20 Jun 2022 21:22:57 -0400 Subject: [PATCH] fix --- www/svs/user/userve.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/svs/user/userve.php b/www/svs/user/userve.php index 73a15ce3..ca4f4b67 100644 --- a/www/svs/user/userve.php +++ b/www/svs/user/userve.php @@ -38,6 +38,7 @@ $endpoints = array( 'blogitem' => array('POST'), 'couponhx' => array('POST'), 'couponpending' => array('POST'), + 'couponredeem' => array('POST'), ); $call_backend = true; // sometimes we need to overwite the call to the extenstion API @@ -100,6 +101,9 @@ if ($_SERVER["REQUEST_METHOD"] == "GET") { } $in["loc"] = $_SERVER["REMOTE_ADDR"]; switch ($endpoint) { + case 'couponredeem': + $in["action"] = WRENCHBOARD_COUPON_REDEEM; + break; case 'couponpending': $in["action"] = WRENCHBOARD_COUPON_PENDLIST; break;