Cost units can be edited

This commit is contained in:
th.guenther committed 2026-02-08 20:06:38 +01:00
1 parent 6fc65e195c
commit bccfc11687
53 files changed
+2021 -29

No files matched your search

+10
View File
@@ -29,6 +29,16 @@ class UserResource extends JsonResource {
unset($data['activation_token_expires_at']);
return $data;
}
public function getReducedData(): array {
return [
'id' => $this->user->id,
'nicename' => $this->user->getNicename(),
'fullname' => $this->user->getFullName(),
'firstname' => $this->user->firstname,
'lastname' => $this->user->lastname,
'localGroup' => $this->user->localGroup()->name,
];
}
}