This commit is contained in:
Lance Pioch 2024-04-04 21:45:57 -04:00
parent 3465d2fc64
commit a133503256

View File

@ -211,7 +211,7 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac
*/
public function toVueObject(): array
{
return Collection::make($this->toArray())->except(['id', 'external_id'])->toArray();
return collect($this->toArray())->except(['id', 'external_id'])->toArray();
}
/**