Skip to content

Commit 3f37797

Browse files
committed
fix: 리베이스 오류 해결
1 parent e97cf26 commit 3f37797

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/somemore/domains/notification/controller/NotificationCommandController.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import com.somemore.domains.notification.dto.NotificationIdsRequestDto;
44
import com.somemore.domains.notification.usecase.NotificationCommandUseCase;
5-
import com.somemore.global.auth.annotation.CurrentUser;
5+
import com.somemore.global.auth.annotation.UserId;
66
import com.somemore.global.common.response.ApiResponse;
77
import io.swagger.v3.oas.annotations.Operation;
88
import io.swagger.v3.oas.annotations.tags.Tag;
@@ -29,7 +29,7 @@ public class NotificationCommandController {
2929
@Operation(summary = "알림(1개) 읽음 처리", description = "알림 1개를 읽음 처리합니다.")
3030
@PatchMapping("/read/{notificationId}")
3131
public ApiResponse<String> markSingleNotification(
32-
@CurrentUser UUID userId,
32+
@UserId UUID userId,
3333
@PathVariable Long notificationId
3434
) {
3535
notificationCommandUseCase.markSingleNotificationAsRead(userId, notificationId);
@@ -40,7 +40,7 @@ public ApiResponse<String> markSingleNotification(
4040
@Operation(summary = "알림(N개) 읽음 처리", description = "알림 N개를 읽음 처리합니다.")
4141
@PostMapping("/read/multiple")
4242
public ApiResponse<String> markMultipleNotifications(
43-
@CurrentUser UUID userId,
43+
@UserId UUID userId,
4444
@RequestBody NotificationIdsRequestDto notificationIds
4545
) {
4646
notificationCommandUseCase.markMultipleNotificationsAsRead(userId, notificationIds);

0 commit comments

Comments
 (0)