Skip to content

Commit

Permalink
order data typo fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 committed Jan 15, 2025
1 parent 56949d7 commit cc743f8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Http/Resources/BankTransferCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function toArray($request)
'trackable' => $item->service_vendor_id != config('fintech.business.default_vendor'),
] + $item->commonAttributes();

$this->renderPolicyData($item->order_data);
$this->renderPolicyData($data['order_data']);

return $data;
})->toArray();
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Resources/BankTransferResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function toArray($request)
'trackable' => $this->service_vendor_id != config('fintech.business.default_vendor'),
] + $this->commonAttributes();

$this->renderPolicyData($this->order_data);
$this->renderPolicyData($data['order_data']);

return $data;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Resources/CashPickupCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function toArray($request)
'trackable' => $item->service_vendor_id != config('fintech.business.default_vendor'),
] + $item->commonAttributes();

$this->renderPolicyData($item->order_data);
$this->renderPolicyData($data['order_data']);

return $data;
})->toArray();
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Resources/CashPickupResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function toArray($request)
'trackable' => $this->service_vendor_id != config('fintech.business.default_vendor'),
] + $this->commonAttributes();

$this->renderPolicyData($this->order_data);
$this->renderPolicyData($data['order_data']);

return $data;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Resources/WalletTransferCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function toArray($request)
'trackable' => $item->service_vendor_id != config('fintech.business.default_vendor'),
] + $item->commonAttributes();

$this->renderPolicyData($item->order_data);
$this->renderPolicyData($data['order_data']);

return $data;
})->toArray();
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Resources/WalletTransferResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function toArray($request)
'trackable' => $this->service_vendor_id != config('fintech.business.default_vendor'),
] + $this->commonAttributes();

$this->renderPolicyData($this->order_data);
$this->renderPolicyData($data['order_data']);

return $data;
}
Expand Down

0 comments on commit cc743f8

Please sign in to comment.