Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@WebAdapter
@RestController
@RequiredArgsConstructor
@RequestMapping("/api/comment")
@RequestMapping("/api/comments")
public class CommandCommentController {

private final EditCommentUsecase editCommentUsecase;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@WebAdapter
@RestController
@RequiredArgsConstructor
@RequestMapping("/api/comment")
@RequestMapping("/api/comments")
public class PostCommentController {

private final SaveCommentUsecase saveCommentUsecase;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@Tag(name = "04. Notification")
@WebAdapter
@RestController
@RequestMapping("/api/notification")
@RequestMapping("/api/notifications")
@RequiredArgsConstructor
public class ManagementNotificationController {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public ApprovalTaskResponse approvalTaskByReviewer(Long reviewerId, Long taskId,
TaskHistory taskHistory = TaskHistory.createTaskHistory(TaskHistoryType.PROCESSOR_ASSIGNED, task, null, processor,null);
commandTaskHistoryPort.save(taskHistory);

List<Member> receivers = List.of(reviewer, processor);
List<Member> receivers = List.of(task.getRequester(), processor);
String processorName = processor.getNickname();
publishNotification(receivers, task, processorName);

Expand Down
Loading