Commit cada2277 by Евгений

Улучшение #19453

Первоначальная загрузка всех РК аккаунтов.
1 parent dceccd2b
Showing with 2 additions and 0 deletions
......@@ -40,6 +40,8 @@ class Limits implements \App\Service\Contract\Limits {
function refreshCurrentLimit(){
//последние лимиты по баллам из АПИ
$limit = $this->token->limits()->complited()->first();
if (!$limit)
return;
//сколько часов прошло после последнего запуска
$hours = Date::now()->diffInHours($limit->updated_at);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!