fix method

This commit is contained in:
Looly 2021-08-18 14:43:53 +08:00
parent 9b58b8295a
commit ca927176d1

View File

@ -71,6 +71,6 @@ public class AlgorithmUtil {
* @return JWT算法ID
*/
private static String getIdByAlgorithm(String algorithm) {
return map.getInverse().get(algorithm);
return map.getKey(algorithm);
}
}