diff --git a/www-api/app/Controllers/WrenchJobs.php b/www-api/app/Controllers/WrenchJobs.php index 85a22ec5..d277af5f 100644 --- a/www-api/app/Controllers/WrenchJobs.php +++ b/www-api/app/Controllers/WrenchJobs.php @@ -56,6 +56,7 @@ class WrenchJobs extends BaseController $out = $this->APIcall('GET', $local_url, $in); // dont cache junk if ( is_array($out) && is_array($out["result_list"]) && count($out["result_list"]) > 0){ + $this->deleteCache($endpoint); $this->saveCache($endpoint,$out,1440); } }