Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Kirill Mokevnin <[email protected]>
  • Loading branch information
mokevnin committed Oct 15, 2023
1 parent 04c2e4f commit c83122f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ dependencies {
implementation("net.javacrumbs.json-unit:json-unit-assertj:3.2.2")
implementation("net.datafaker:datafaker:2.0.2")

// implementation("io.sentry:sentry-spring-boot-starter-jqueryakarta:6.28.0")
runtimeOnly("com.h2database:h2:2.2.224")
testImplementation("org.springframework.security:spring-security-test")
testImplementation("org.springframework.boot:spring-boot-starter-test")
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/hexlet/blog/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public AuthenticationManager authenticationManager(HttpSecurity http) throws Exc

@Bean
public AuthenticationProvider daoAuthProvider(AuthenticationManagerBuilder auth) {
DaoAuthenticationProvider provider = new DaoAuthenticationProvider();
var provider = new DaoAuthenticationProvider();
provider.setUserDetailsService(userService);
provider.setPasswordEncoder(passwordEncoder);
return provider;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import io.hexlet.blog.dto.PostCommentDTO;
import io.hexlet.blog.dto.PostCommentParamsDTO;
import io.hexlet.blog.mapper.PostCommentMapper;
import io.hexlet.blog.model.PostComment;
import io.hexlet.blog.repository.PostCommentRepository;
import io.hexlet.blog.specification.PostCommentSpecification;

Expand Down
Empty file.

0 comments on commit c83122f

Please sign in to comment.