Skip to content

Commit 00be5e3

Browse files
author
EpicFn
committed
fix : 오타 수정
1 parent ff07dd5 commit 00be5e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/org/tuna/zoopzoop/backend/domain/dashboard/service/DashboardService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public void verifyAccessPermission(Member member, Integer dashboardId) throws Ac
102102
Dashboard dashboard = dashboardRepository.findById(dashboardId)
103103
.orElseThrow(() -> new NoResultException(dashboardId + " ID를 가진 대시보드를 찾을 수 없습니다."));
104104

105-
try{
105+
try {
106106
membershipService.findByMemberAndSpace(member, dashboard.getSpace());
107107
} catch (NoResultException e) {
108108
throw new AccessDeniedException("대시보드의 접근 권한이 없습니다.");

src/test/java/org/tuna/zoopzoop/backend/domain/dashboard/controller/DashboardControllerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ void updateGraph_Fail_NotFound() throws Exception {
193193
ResultActions resultActions = mvc.perform(put(url)
194194
.contentType(MediaType.APPLICATION_JSON)
195195
.header("Liveblocks-Signature", validSignature) // ★ 서명 헤더 추가
196-
.content(requestBody));;
196+
.content(requestBody));
197197

198198
// Then
199199
expectNotFound(
@@ -254,7 +254,7 @@ private String createReactFlowJsonBody() {
254254
}
255255

256256
// ======================= HELPER METHODS ======================== //
257-
private String generateLiveblocksSignature(String requestBody) throws NoSuchAlgorithmException, InvalidKeyException, InvalidKeyException {
257+
private String generateLiveblocksSignature(String requestBody) throws NoSuchAlgorithmException, InvalidKeyException {
258258
long timestamp = System.currentTimeMillis();
259259
String payload = timestamp + "." + requestBody;
260260

0 commit comments

Comments
 (0)