Ken há 1 mês atrás
pai
commit
50fd087cc8
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Services/FixtureService.php

+ 1 - 1
app/Services/FixtureService.php

@@ -35,7 +35,7 @@ static function oddsLive($id)
         $res = Client::oddsLive(['fixture' => $id]);
         if (count($res['response']) <= 0) return [];
         $res = $res['response'][0];
-        Cache::put($key, $res, now()->addHours(3));
+        Cache::put($key, $res, 3);
         return $res;
     }