diff --git a/www-api/app/Config/RoutesV1.php b/www-api/app/Config/RoutesV1.php index 482570a1..d825a45f 100644 --- a/www-api/app/Config/RoutesV1.php +++ b/www-api/app/Config/RoutesV1.php @@ -177,6 +177,10 @@ $routes->post('/en/wrench/api/v1/sitecontact', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/signupcountry', 'WrenchGeneralData::signUpCountry'); $routes->post('/en/wrench/api/v1/userscards', 'WrenchApi::apigate'); +$routes->post('/en/wrench/api/v1/countrystate', 'WrenchResources::getCountryStates'); + + + $routes->post('/en/wrench/api/v1/couponhx', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/couponpending', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/couponredeem', 'WrenchApi::apigate'); diff --git a/www-api/app/Controllers/WrenchGetResources.php b/www-api/app/Controllers/WrenchGetResources.php index 1ab1e7a1..e3707763 100644 --- a/www-api/app/Controllers/WrenchGetResources.php +++ b/www-api/app/Controllers/WrenchGetResources.php @@ -25,4 +25,7 @@ class WrenchGetResources extends BaseController return []; } + + + } \ No newline at end of file diff --git a/www-api/app/Controllers/WrenchWallet.php b/www-api/app/Controllers/WrenchWallet.php index 5b4173c6..dc089876 100644 --- a/www-api/app/Controllers/WrenchWallet.php +++ b/www-api/app/Controllers/WrenchWallet.php @@ -328,7 +328,7 @@ class WrenchWallet extends BaseController "processor" => 9014, "current_balance" => 0, "transfer_limit" => 0, - "wallet_uid" => "", + "wallet_uid" => "", "escrow" => 0, "show_balance" => true, "rt_action_text" => "Redeem",