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;