diff --git a/lib/Authority.ts b/lib/Authority.ts index d6e303b..4e50987 100644 --- a/lib/Authority.ts +++ b/lib/Authority.ts @@ -53,7 +53,7 @@ class Authority { key, (info) => { try { - return keystore.get_key (info.iat / 1000, info.iss); + return await keystore.get_key (info.iat / 1000, info.iss); } catch { return ''; diff --git a/package.json b/package.json index b9e80f7..713c4fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sapphirecode/auth-server-helper", - "version": "3.3.1", + "version": "3.3.2", "main": "dist/lib/index.js", "author": { "name": "Timo Hocker",