Skip to content

Commit 972f172

Browse files
committed
Add isWholesaler field to SellerResource for enhanced seller data representation
1 parent d8978e0 commit 972f172

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Http/Resources/SellerResource.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function toArray(Request $request): array
2424
"lastName"=>$this->lastName,
2525
"birthDate"=>$this->birthDate,
2626
"nationality"=>$this->nationality,
27+
"isWholesaler"=>$this->isWholesaler,
2728
"role_id"=>$this->role_id,
2829
"phone_number"=>$this->phone_number,
2930
"isWholesaler"=>$this->isWholesaler,

0 commit comments

Comments
 (0)