Skip to content

Commit

Permalink
Fix: 어드민 인증 태우기
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhwanJee committed Nov 13, 2024
1 parent 8e1c343 commit 5d80497
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import club.staircrusher.api.spec.dto.GetUserInfoResponseDto
import club.staircrusher.api.spec.dto.UpdatePushTokenPostRequest
import club.staircrusher.api.spec.dto.UpdateUserInfoPost200Response
import club.staircrusher.api.spec.dto.UpdateUserInfoPostRequest
import club.staircrusher.spring_web.security.admin.SccAdminAuthentication
import club.staircrusher.spring_web.security.app.SccAppAuthentication
import club.staircrusher.stdlib.env.SccEnv
import club.staircrusher.user.application.port.`in`.UserApplicationService
Expand Down Expand Up @@ -118,7 +119,7 @@ class UserController(
@PostMapping("/admin/user/sendPushNotification")
fun adminSendPushNotification(
@RequestBody request: AdminSendPushNotificationRequestDto,
@Suppress("UnusedPrivateMember") authentication: SccAppAuthentication,
@Suppress("UnusedPrivateMember") authentication: SccAdminAuthentication,
) {
userApplicationService.sendPushNotification(
userIds = request.userIds,
Expand Down

0 comments on commit 5d80497

Please sign in to comment.