Skip to content

Commit

Permalink
Fix saveandrestore take-snapshot put api endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasDevelops committed Dec 18, 2024
1 parent 368971f commit 19c8814
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public List<SnapshotItem> takeSnapshot(@PathVariable String configNodeId) {
* @return A {@link Snapshot} representing the new snapshot node.
*/
@SuppressWarnings("unused")
@PutMapping(value = "/take-snapshot/{nodeId}", produces = JSON)
@PutMapping(value = "/take-snapshot/{configNodeId}", produces = JSON)
public Snapshot takeSnapshotAndSave(@PathVariable String configNodeId,
@RequestParam(name = "name", required = false) String snapshotName,
@RequestParam(name = "comment", required = false) String comment) {
Expand Down

0 comments on commit 19c8814

Please sign in to comment.