fix: 修复节点状态列表接口报错的问题

This commit is contained in:
xboard 2023-12-15 22:46:09 +08:00
parent b934128449
commit 92532333cb

View File

@ -17,7 +17,7 @@ class NodeResource extends JsonResource
return [
'id' => $this['id'],
'type' => $this['type'],
'version' => $this['version'],
'version' => $this['version'] ?? null,
'name' => $this['name'],
'rate' => $this['rate'],
'tags' => $this['tags'],