Fix another compatibility issue

This commit is contained in:
xynngh 2020-06-03 18:14:59 +04:00
parent 1c6741996e
commit b46b5a5acc
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import java.util.UUID;
public class Utils {
public static String md5String(String str) {
return new String(Hex.encodeHex(DigestUtils.md5(str)));
return new String(Hex.encodeHex(DigestUtils.md5(str.getBytes())));
}
public static String generateAppId() {