瀏覽代碼

update: fix typo

tokumeikoi 2 年之前
父節點
當前提交
604cb807f1
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {