Skip to content
Snippets Groups Projects
Commit 2a90a47c authored by Alexandre Grison's avatar Alexandre Grison
Browse files

deps

parent 64c9faa8
Branches
No related tags found
No related merge requests found
......@@ -24,9 +24,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
@Configuration
@EnableCaching
@SpringBootApplication
class ApiApplication(val tagRepository: TagRepository,
val userRepository: UserRepository,
val articleRepository: ArticleRepository) : WebMvcConfigurerAdapter() {
class ApiApplication : WebMvcConfigurerAdapter() {
override fun addInterceptors(registry: InterceptorRegistry?) {
registry!!.addInterceptor(exposeResponseInterceptor())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment