mirror of
https://github.com/hanskokx/arcane_helper_utils.git
synced 2026-05-14 02:19:09 +02:00
Remove unnecessary breaks in string_jwt
Signed-off-by: Hans Kokx <hans.kokx@hackberry.se>
This commit is contained in:
@@ -92,10 +92,8 @@ extension JWTUtility on String {
|
|||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
output += "==";
|
output += "==";
|
||||||
break;
|
|
||||||
case 3:
|
case 3:
|
||||||
output += "=";
|
output += "=";
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
throw Exception('Illegal base64url string!"');
|
throw Exception('Illegal base64url string!"');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user