Skip to content

Commit 0ad6501

Browse files
committed
wip
Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 4104858 commit 0ad6501

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Illuminate/Http/Resources/JsonApi/Concerns/ResolvesJsonApiElements.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ protected function resolveResourceAttributes(JsonApiRequest $request, string $re
137137
$data = (new Collection($data))
138138
->mapWithKeys(fn ($value, $key) => is_int($key) ? [$value => $this->resource->{$value}] : [$key => $value])
139139
->when(! empty($sparseFieldset), fn ($attributes) => $attributes->only($sparseFieldset))
140-
->reject(fn ($value, $key) => $key === $this->resource->getKey())
141140
->transform(fn ($value) => value($value, $request))
142141
->all();
143142

0 commit comments

Comments
 (0)