Skip to content

Commit

Permalink
feat: 검수 장소 삭제 API 에 ManagerAuthInterceptor 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
kokodak committed Oct 3, 2023
1 parent 6219c59 commit 0dbbbb0
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,14 @@ private HandlerInterceptor mapAuthInterceptor() {
.excludeRequestPattern("/**/*.ico")
.excludeRequestPattern("/ranks")
.excludeRequestPattern("/**", HttpMethod.OPTIONS)
.excludeRequestPattern("/places", HttpMethod.POST);
.excludeRequestPattern("/places", HttpMethod.POST)
.excludeRequestPattern("/temporary-places/**", HttpMethod.DELETE);
}

private HandlerInterceptor mapManagerAuthInterceptor() {
return new RequestMatcherInterceptor(managerAuthInterceptor)
.includeRequestPattern("/places", HttpMethod.POST);
.includeRequestPattern("/places", HttpMethod.POST)
.includeRequestPattern("/temporary-places/**", HttpMethod.DELETE);
}

@Override
Expand Down

0 comments on commit 0dbbbb0

Please sign in to comment.