mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-19 17:01:13 +00:00
Update prettier to latest. Remove tslint (#1641)
* Rev up prettier * Reformat * Remove deprecated tslint * Remove call to tslint and update package-lock.json
This commit is contained in:
@@ -37,7 +37,7 @@ export function decryptJWTToken(token: string) {
|
||||
atob(tokenPayloadBase64)
|
||||
.split("")
|
||||
.map((p) => "%" + ("00" + p.charCodeAt(0).toString(16)).slice(-2))
|
||||
.join("")
|
||||
.join(""),
|
||||
);
|
||||
|
||||
return JSON.parse(tokenPayload);
|
||||
|
||||
Reference in New Issue
Block a user