Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbeStatik committed Nov 17, 2022
2 parents 806bfcf + 86ddcfa commit b838d23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/Services/SurveyResponseImportService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit b838d23

Please sign in to comment.