public function handleWebhooks(ClientSurvey $client_survey): void 	{ 		if (app()->runningUnitTests() || app()->isLocal()) { 			return; 		}  		// Handles case where webhook token/url wasn't set 		try { 			$client_survey->deleteWebhooks();  			$this->createWebhook($client_survey, 'notify-client-started', $this->getSurveyStartDate($client_survey)); 			$this->createWebhook($client_survey, 'notify-client-ended', $client_survey->end_date);  			// Check if client wants to send codes via email 			if ($client_survey->hasMailableApplicants()) { 				$this->createWebhook($client_survey, 'notify-applicant-invitation', $client_survey->invitation_date); 				$this->createWebhook($client_survey, 'notify-applicant-reminder', $client_survey->reminder_date); 				$this->createWebhook($client_survey, 'notify-codes-not-downloaded', $this->getSurveyCodesNotDownloadedReminderDate($client_survey)); 			} 		} catch (Throwable $th) { 		} 	}