Skip to content

Commit

Permalink
YEL-154 [feat] slack notification 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeonjeongs committed Sep 10, 2023
1 parent 1ff52ad commit 60333bc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.yello.server.domain.purchase.dto.request.AppleNotificationRequest;
import com.yello.server.domain.purchase.service.PurchaseService;
import com.yello.server.global.common.dto.BaseResponse;
import com.yello.server.infrastructure.slack.annotation.SlackPurchaseNotification;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
Expand All @@ -17,6 +18,7 @@ public class PurchaseNotificationController {
private final PurchaseService purchaseService;

@PostMapping("/v2/apple/notifications")
@SlackPurchaseNotification
public BaseResponse appleNotification(
@RequestBody AppleNotificationRequest request
) {
Expand Down

0 comments on commit 60333bc

Please sign in to comment.