diff --git a/CHANGELOG.md b/CHANGELOG.md index f85dd29..8720cf2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to `laravel-surveyhero` will be documented in this file. +## 1.4.1 - 2022-11-16 + +added public function deleteSurveyResponse($surveyId, $responseId) to SurveyResponseImportService::class to delete survey responses + ## v1.4.0 - 2022-10-27 Add data export functionality to spreadsheet diff --git a/src/Services/SurveyResponseImportService.php b/src/Services/SurveyResponseImportService.php index 2b51faf..78bbcf6 100644 --- a/src/Services/SurveyResponseImportService.php +++ b/src/Services/SurveyResponseImportService.php @@ -179,7 +179,8 @@ private function createOrUpdateSurveyResponse(\stdClass $surveyheroResponse, Sur ], $responseData); } - public function deleteSurveyResponse($surveyId, $responseId) { + public function deleteSurveyResponse($surveyId, $responseId) + { $this->client->deleteResponse($surveyId, $responseId); }