Skip to content

Commit

Permalink
feat/#507: 메소드의 parameter 변수명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
LJH098 committed Oct 8, 2024
1 parent d042b65 commit f04cb7c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ public void saveWithExpiration(String key, String code, Long expiredTime) {

@Override
@Timer
public Optional<String> query(String email) {
return Optional.ofNullable(redisUtils.getData(email));
public Optional<String> query(String key) {
return Optional.ofNullable(redisUtils.getData(key));
}

@Override
public void delete(String email) {
redisUtils.deleteData(email);
public void delete(String key) {
redisUtils.deleteData(key);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

@Component
public interface CodePort {
void saveWithExpiration(String email, String code, Long expiredTime);
void saveWithExpiration(String key, String code, Long expiredTime);

Optional<String> query(String email);
Optional<String> query(String key);

void delete(String email);
void delete(String key);
}

0 comments on commit f04cb7c

Please sign in to comment.