From f40aed9a633c6a09694684b58156ba7ff20408ba Mon Sep 17 00:00:00 2001 From: ikvarxt Date: Thu, 21 Apr 2022 15:22:12 +0800 Subject: [PATCH] fix typo: swagger api operation title typo (#1870) --- .../java/run/halo/app/controller/admin/api/PostController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/run/halo/app/controller/admin/api/PostController.java b/src/main/java/run/halo/app/controller/admin/api/PostController.java index 9b6eae9c3..e8c05de6f 100644 --- a/src/main/java/run/halo/app/controller/admin/api/PostController.java +++ b/src/main/java/run/halo/app/controller/admin/api/PostController.java @@ -173,7 +173,7 @@ public class PostController { } @DeleteMapping("{postId:\\d+}") - @ApiOperation("Deletes a photo permanently") + @ApiOperation("Deletes a post permanently") public void deletePermanently(@PathVariable("postId") Integer postId) { postService.removeById(postId); }