Skip to content

Commit

Permalink
fix: dbData가 null인 경우 return null (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
julia-heo committed Mar 14, 2024
1 parent 55ff88a commit 0040353
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public String convertToDatabaseColumn(String attribute) {
@Override
public String convertToEntityAttribute(String dbData) {
try {
if (dbData == null) return null;
return new String(decryptCipher.doFinal(Hex.decodeHex(dbData.toCharArray())));
}catch (Exception e) {
e.printStackTrace();
Expand Down

0 comments on commit 0040353

Please sign in to comment.