Skip to content

Commit

Permalink
rename: TokenRepository 이름 정정
Browse files Browse the repository at this point in the history
  • Loading branch information
SJ70 committed Jul 25, 2024
1 parent 4659719 commit c71cfd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import org.springframework.stereotype.Repository;

@Repository
public interface Token_Repository extends CrudRepository<Token, String> {
public interface TokenRepository extends CrudRepository<Token, String> {

boolean existsByToken(String token);

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/j9/bestmoments/service/TokenService.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import com.j9.bestmoments.domain.Token;
import com.j9.bestmoments.dto.response.LoginDto;
import com.j9.bestmoments.jwt.JwtTokenProvider;
import com.j9.bestmoments.repository.Token_Repository;
import com.j9.bestmoments.repository.TokenRepository;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.security.access.AccessDeniedException;
Expand All @@ -18,7 +18,7 @@
@Slf4j
public class TokenService {

private final Token_Repository tokenRepository;
private final TokenRepository tokenRepository;
private final JwtTokenProvider jwtTokenProvider;
private final MemberService memberService;

Expand Down

0 comments on commit c71cfd6

Please sign in to comment.