We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95e96e1 commit 03a58c4Copy full SHA for 03a58c4
app/Http/Resources/OrganisationResource.php
@@ -10,7 +10,7 @@ public function toArray($request)
10
{
11
return [
12
'id' => $this->id,
13
- 'name' => $this->name,
+ 'name' => $this->whenHas('name'),
14
];
15
}
16
0 commit comments