Browse Source

update: fix typo

tokumeikoi 2 năm trước cách đây
mục cha
commit
604cb807f1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {