#118 - wip
This commit is contained in:
parent
cb7e150717
commit
63c7a3220e
@ -15,7 +15,7 @@ class KeyResource extends JsonResource
|
||||
return [
|
||||
"id" => $this->id,
|
||||
"user" => new SimpleUserResource($this->user),
|
||||
"updatedAt" => $this->updated_at->toDatetimeString(),
|
||||
"updatedAt" => $this->updated_at->toDisplayString(),
|
||||
"can" => [
|
||||
"give" => $request->user()->can("give", $this->resource),
|
||||
"take" => !$this->user()->is($request->user()),
|
||||
|
Loading…
x
Reference in New Issue
Block a user