$update->getName() ]; $this->userCommandHandler->handleUpdate($user, $data); } catch (\Throwable $e) { report($e->getMessage()); return $this->errService($e->getMessage()); } return $this->ok(__('Profile saved successfully')); } }