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

This commit is contained in:
xboard committed 2023-12-15 22:46:09 +08:00
1 parent 4f6ddd8b7d
commit 211b541819
1 file changed
+1 -1
+1 -1
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'],