catch key error
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Timo Hocker 2022-08-10 11:08:14 +02:00
parent da36f87250
commit 1009a9b8d5
No known key found for this signature in database
GPG Key ID: 3B86485AC71C835C
2 changed files with 2 additions and 2 deletions

View File

@ -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 '';

View File

@ -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",