fix: 修复节点状态列表接口报错的问题
This commit is contained in:
@@ -17,7 +17,7 @@ class NodeResource extends JsonResource
|
|||||||
return [
|
return [
|
||||||
'id' => $this['id'],
|
'id' => $this['id'],
|
||||||
'type' => $this['type'],
|
'type' => $this['type'],
|
||||||
'version' => $this['version'],
|
'version' => $this['version'] ?? null,
|
||||||
'name' => $this['name'],
|
'name' => $this['name'],
|
||||||
'rate' => $this['rate'],
|
'rate' => $this['rate'],
|
||||||
'tags' => $this['tags'],
|
'tags' => $this['tags'],
|
||||||
|
|||||||
Reference in New Issue
Block a user