Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: save approved review #266

Merged
merged 3 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]


### Added

- Review's approved information received through the request body on the save review route

## [3.16.1] - 2025-01-29

### Removed

- Quality engineering (stale) actions


## [3.16.0] - 2024-12-18

### Fixed
Expand Down
3 changes: 2 additions & 1 deletion dotnet/Controllers/RoutesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ public async Task<IActionResult> ProcessReviewApiAction(string requestedAction,
Text = newReview.Text,
ReviewerName = newReview.ReviewerName,
ReviewDateTime = newReview.ReviewDateTime,
VerifiedPurchaser = hasShopperPurchased
VerifiedPurchaser = hasShopperPurchased,
Approved = newReview.Approved
};

var reviewResponse = await this._productReviewsService.NewReview(reviewToSave, false);
Expand Down
Loading