crate some new object
This commit is contained in:
@@ -27,7 +27,8 @@ class UserResource extends JsonResource
|
||||
'province_name' => $this->province_name,
|
||||
'role' => $this->roles->pluck('id', 'name_fa'),
|
||||
'permissions' => $this->getPermissionNames(),
|
||||
'telephone_id' => $this->telephone_id
|
||||
'telephone_id' => $this->telephone_id,
|
||||
'server_province_id' => config('ProvinceInfo.id'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user