public function cancelSurvey(Domain $domain, ClientSurvey $id, Request $request, ClientSurveyService $client_survey_service): JsonResponse 	{ 		$client = auth()->user()->user;  		if ($client_survey_service->canEditSurvey($id, $client)) { 			abort(403, (string) __('client-surveys.cannot-cancel-survey')); 		}  		$userActivityService = new UserActivityService($request, $id->client->authParent); 		$userActivityService->createCustomEntry($id, UserActivityType::Read);  		return $client_survey_service->cancelSurvey($id); 	}