Skip to content

Commit

Permalink
fix: 암호화 구현 클래스의 정적필드에 사용된 Value 어노테이션 삭제 (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunsb committed Aug 9, 2023
1 parent bb23146 commit 5e7f496
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import com.example.core.errors.exception.DecryptException;
import com.example.core.errors.exception.EncryptException;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Service;

Expand All @@ -18,8 +17,8 @@ public class AESEncryption implements Encryption {

private static final String AES_ALGORITHM = "AES";

@Value("${aes-key}")
private static String AES_KEY;

private final Environment environment;

public String encrypt(String data) throws EncryptException {
Expand Down

0 comments on commit 5e7f496

Please sign in to comment.