Skip to content

Commit

Permalink
feat : github actions 확인
Browse files Browse the repository at this point in the history
  • Loading branch information
wellbeing-dough committed Dec 12, 2023
1 parent 01577bb commit aa2c27f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ public SseEmitter subscribe(@RequestAttribute Long userId, @RequestHeader(value

@Operation(summary = "단일 사용자 알림 전송", description = "관리자가 특정 사용자에게 알림 메시지를 전송합니다.")
@PostMapping("/users/{receiverId}")
public ResponseEntity sendToUser(@PathVariable Long receiverId, @RequestBody @Valid CreateNotificationRequest createNotificationRequest, @RequestAttribute Long userId) {
public ResponseEntity<HttpStatus> sendToUser(@PathVariable Long receiverId, @RequestBody @Valid CreateNotificationRequest createNotificationRequest, @RequestAttribute Long userId) {
notificationService.sendNotificationToUser(receiverId, userId, createNotificationRequest.toServiceRequest());
return new ResponseEntity(HttpStatus.OK);
return new ResponseEntity<>(HttpStatus.OK);
}

@Operation(summary = "전체 사용자 알림 전송", description = "관리자가 모든 사용자에게 알림 메시지를 전송합니다.")
Expand Down

0 comments on commit aa2c27f

Please sign in to comment.