Skip to content

Commit

Permalink
Add catalog management and sql gateway api
Browse files Browse the repository at this point in the history
  • Loading branch information
GOODBOY008 committed Aug 1, 2023
1 parent c358ad6 commit 230c036
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ public RestResponse get(@PathVariable Long id) {
}

@Operation(summary = "Delete flink gateway by id")
@DeleteMapping("delete")
@DeleteMapping("delete/{id}")
public RestResponse delete(
@NotNull(message = "The Gateway id cannot be null") @RequestParam("id") Long id) {
@NotNull(message = "The Gateway id cannot be null") @PathVariable Long id) {
flinkGatewayService.removeById(id);
return RestResponse.success();
}
Expand Down

0 comments on commit 230c036

Please sign in to comment.