Skip to content

Commit

Permalink
πŸ› fix: noti-service @authuser 버그 μˆ˜μ •
Browse files Browse the repository at this point in the history
πŸ› fix: noti-service @authuser 버그 μˆ˜μ •
  • Loading branch information
DDonghyeo authored Jul 1, 2024
2 parents db54f76 + 1f4bf5e commit 1a22410
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package com.waither.notiservice.config;

import com.waither.notiservice.global.annotation.AuthUserArgumentResolver;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

import java.util.List;

@RequiredArgsConstructor
@Configuration
public class WebMvcConfig implements WebMvcConfigurer {

private final AuthUserArgumentResolver authUserArgumentResolver;

@Override
public void addArgumentResolvers(List<HandlerMethodArgumentResolver> resolvers) {
resolvers.add(authUserArgumentResolver);
}
}

0 comments on commit 1a22410

Please sign in to comment.