From 604cb807f10f2930513ee750d08a65d1fa55fb61 Mon Sep 17 00:00:00 2001 From: tokumeikoi Date: Fri, 29 Jul 2022 22:02:00 +0800 Subject: [PATCH] update: fix typo --- app/Jobs/StatServerJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/StatServerJob.php b/app/Jobs/StatServerJob.php index b544dcae..93a42acd 100644 --- a/app/Jobs/StatServerJob.php +++ b/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) {