Skip to content

Commit

Permalink
merge from: cjava
Browse files Browse the repository at this point in the history
  • Loading branch information
langhsu committed Aug 22, 2023
1 parent b9b5f2e commit 970819a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ public String post(PostVO post) {
*/
@RequestMapping("/delete/{id}")
@ResponseBody
public Result delete(@PathVariable Long id) {
Result data;
public Result<Void> delete(@PathVariable Long id) {
Result<Void> data;
try {
postService.delete(id, getProfile().getId());
data = Result.success();
Expand Down

0 comments on commit 970819a

Please sign in to comment.