mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-23 14:34:19 +00:00
frontend suggested changes
This commit is contained in:
@@ -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()),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user