Commit 70ca8013 by Vladislav

#20794 Сделать чтобы в целевых РК оставалась одна карточка

1 parent a564d7b1
Showing with 1 additions and 1 deletions
...@@ -185,7 +185,7 @@ class GetKeywords extends DirectRequest ...@@ -185,7 +185,7 @@ class GetKeywords extends DirectRequest
} }
DB::update($sql); DB::update($sql);
AdGroup::whereIn('external_id', $ag_groups)->update(['keywords_loaded_at' => $now]); AdGroup::whereIn('external_id', $ag_groups)->update(['keywords_loaded_at' => Carbon::now()]);
} }
} catch (\Exception $e) { } catch (\Exception $e) {
Log::debug($e); Log::debug($e);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!