Feat: Adds multi currency support to API (#90)

This commit is contained in:
hackerESQ
2025-04-10 21:24:44 -05:00
committed by GitHub
parent 1ef8dd9378
commit dd21227f8f
5 changed files with 9 additions and 0 deletions
+4
View File
@@ -22,6 +22,10 @@ class UserResource extends JsonResource
'name' => $this->name,
'email' => $this->email,
'profile_photo_url' => $this->profile_photo_url,
'options' => [
'display_currency' => $this->getCurrency(),
'locale' => $this->getLocale(),
],
'created_at' => $this->created_at,
'updated_at' => $this->updated_at,
];