Correct issue with testing.
This commit is contained in:
parent
8a2b2256cf
commit
87046bb736
|
|
@ -51,7 +51,7 @@ class EntryObserver
|
||||||
*/
|
*/
|
||||||
public function updated(Entry $entry): void
|
public function updated(Entry $entry): void
|
||||||
{
|
{
|
||||||
if (Request::route()->getName() !== 'admin.draw.store') { // Don't update doubler table during draw
|
if (Request::route()?->getName() !== 'admin.draw.store') { // Don't update doubler table during draw
|
||||||
$syncer = app(DoublerSync::class);
|
$syncer = app(DoublerSync::class);
|
||||||
// Update doubler table when an entry is updated
|
// Update doubler table when an entry is updated
|
||||||
$syncer();
|
$syncer();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue