We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f0fad7 commit e51533bCopy full SHA for e51533b
src/main/java/com/back/domain/mybar/controller/MyBarController.java
@@ -77,5 +77,15 @@ public RsData<Void> unkeep(
77
myBarService.unkeep(userId, cocktailId);
78
return RsData.of(200, "deleted");
79
}
80
+
81
+ @DeleteMapping
82
+ @Operation(summary = "내 바 전체 삭제", description = "내 바에 담긴 모든 칵테일을 소프트 삭제합니다")
83
+ public RsData<Void> clearAll(
84
+ @AuthenticationPrincipal SecurityUser principal
85
+ ) {
86
+ Long userId = principal.getId();
87
+ myBarService.clearAll(userId);
88
+ return RsData.of(200, "cleared");
89
+ }
90
91
0 commit comments