frontend suggested changes

This commit is contained in:
omair saleh
2021-09-02 22:20:01 +08:00
parent 842fc52b4e
commit 050dc8ac7b
10 changed files with 118 additions and 49 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ class ContainerResource extends JsonResource
'container_type' => $this->container_type,
'container_number' => $this->container_number,
'seal_reference' => $this->seal_reference,
'transport' => TransportResource::collection($this->transports),
'transport' => new TransportResource($this->transports()->first()),
];
}
}