Skip to content

Commit 18a74f4

Browse files
committed
ONB-226 fix: 어드민 권한 알림 메시지 변경
1 parent 3fb16e2 commit 18a74f4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Diff for: adapter-in/web/src/main/resources/static/redoc/openapi3.yaml

Whitespace-only changes.

Diff for: core/src/main/kotlin/com/yapp/bol/admin/AdminServiceImpl.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ class AdminServiceImpl(
2323
if (requestRoles.isEmpty()) return
2424

2525
adminCommandRepository.requestRole(userId, requestRoles, memo)
26-
developerNotifyService.notify(DeveloperNotifyType.REQUEST_ADMIN_ROLE(requestRoles))
26+
developerNotifyService.notify(DeveloperNotifyType.REQUEST_ADMIN_ROLE(requestRoles, memo))
2727
}
2828
}

Diff for: port-out/src/main/kotlin/com/yapp/bol/notify/DeveloperNotifyType.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ sealed class DeveloperNotifyType(
2323

2424
data class REQUEST_ADMIN_ROLE(
2525
val role: List<AdminRole>,
26-
) : DeveloperNotifyType("어드민 권한 요청 $role", "어드민 권한 요청 알림")
26+
val memo: String,
27+
) : DeveloperNotifyType("어드민 권한 요청\n$memo\n$role", "어드민 권한 요청 알림")
2728
}

0 commit comments

Comments
 (0)