fix trasnfer

This commit is contained in:
mahdi1113
2024-05-26 02:13:27 +03:30
parent 4e48b74d0f
commit c8f5ba1105
7 changed files with 49 additions and 1 deletions
+2
View File
@@ -22,6 +22,8 @@ class TransferResource extends JsonResource
'status' => $this->status,
'user_id' => $this->user_id,
'user' => UserResource::make($this->whenLoaded('user')),
'user_transfer_id' => $this->user_transfer_id,
'userTransfer' => UserResource::make($this->whenLoaded('userTransfer')),
'transferable' => $this->resourceFinder(),
'created_at' => $this->created_at,
'updated_at' => $this->updated_at