Quellcode durchsuchen

update: fix typo

tokumeikoi vor 2 Jahren
Ursprung
Commit
604cb807f1
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app/Jobs/StatServerJob.php

+ 1 - 1
app/Jobs/StatServerJob.php

@@ -50,7 +50,7 @@ class StatServerJob implements ShouldQueue
 
         $data = StatServer::lockForUpdate()
             ->where('record_at', $recordAt)
-            ->where('server_id', $this->server->id)
+            ->where('server_id', $this->server['id'])
             ->where('server_type', $this->protocol)
             ->first();
         if ($data) {