change telephone id for every user

This commit is contained in:
2025-05-06 14:15:49 +03:30
parent ab042b3a44
commit 1a1a0aa57b
15 changed files with 64 additions and 40 deletions

View File

@@ -26,7 +26,6 @@ class UserResource extends JsonResource
'province_id' => $this->province_id,
'province_name' => $this->province_name,
'role' => $this->getRoleNames()->first(),
'permissions' => $this->getAllPermissions()->pluck('name'),
'telephone_id' => $this->telephone_id
];
}