We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7be4e62 commit cf7b0a7Copy full SHA for cf7b0a7
src/main/java/ru/mystamps/web/feature/series/RestSeriesController.java
@@ -60,14 +60,14 @@ public ResponseEntity<Void> updateSeries(
60
}
61
62
for (PatchRequest patch : patches) {
63
- if (patch.op != Operation.add) {
+ if (patch.getOp() != Operation.add) {
64
// @todo #785 Update series: properly fail on non-supported operations
65
continue;
66
67
68
- switch (patch.path) {
+ switch (patch.getPath()) {
69
case "/comment":
70
- seriesService.addComment(seriesId, patch.value);
+ seriesService.addComment(seriesId, patch.getValue());
71
break;
72
default:
73
// @todo #785 Update series: properly fail on invalid path
0 commit comments