From 16c316c69f40523fbc68ed559d66c80da7a8aac4 Mon Sep 17 00:00:00 2001 From: "DESKTOP-GBA0BK8\\Admin" Date: Tue, 25 Apr 2023 16:18:03 -0400 Subject: [PATCH] Fix dummy cat --- www-api/app/Config/Routes.php | 2 +- www-api/app/Models/ResultFormatter.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/www-api/app/Config/Routes.php b/www-api/app/Config/Routes.php index 23cdd906..68a32879 100644 --- a/www-api/app/Config/Routes.php +++ b/www-api/app/Config/Routes.php @@ -47,7 +47,7 @@ $routes->post('/en/wrench/api/v1/createmobileuser', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/completemobileuser', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/startresetpasword', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/userlogin', 'WrenchApi::apigate'); -$routes->post('/en/wrench/api/v1/homebanners', 'WrenchApi::apigate'); +$routes->post('/en/wrench/api/v1/homebanners', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/startjoblist', 'WrenchApi::apigate'); $routes->get('/en/wrench/api/v1/startjoblist', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/dashdata', 'WrenchApi::apigate'); diff --git a/www-api/app/Models/ResultFormatter.php b/www-api/app/Models/ResultFormatter.php index f9ce164f..a5605999 100644 --- a/www-api/app/Models/ResultFormatter.php +++ b/www-api/app/Models/ResultFormatter.php @@ -186,7 +186,7 @@ class ResultFormatter extends Model 'job_country' => $out["job_country_${key}"], 'currency' => 'Naira', 'currency_code' => 'NGN', - 'category' => dummyGetCategory() + 'category' => $this->dummyGetCategory() ); } @@ -227,7 +227,7 @@ class ResultFormatter extends Model 'job_country' => $out["job_country_${key}"], 'currency' => 'Naira', 'currency_code' => 'NGN', - 'category' => dummyGetCategory() + 'category' => $this->dummyGetCategory() ); }