From 8f047f2700ec6f4e329eab4306d8c61e9ecad60f Mon Sep 17 00:00:00 2001 From: Timo Hocker <35867059+TimoHocker@users.noreply.github.com> Date: Wed, 5 Jan 2022 13:01:32 +0100 Subject: [PATCH] fixed wrong return type --- lib/Gateway.ts | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Gateway.ts b/lib/Gateway.ts index 64b7ce6..82f49b0 100644 --- a/lib/Gateway.ts +++ b/lib/Gateway.ts @@ -179,7 +179,7 @@ class GatewayClass { public async authenticate ( req: IncomingMessage, res: ServerResponse - ): Promise { + ): Promise { logger ('trying to authenticate http request'); if (this.try_access (req)) { logger ('authenticated via access_token'); diff --git a/package.json b/package.json index 40b77de..741a7f1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sapphirecode/auth-server-helper", - "version": "2.2.4", + "version": "2.2.5", "main": "dist/index.js", "author": { "name": "Timo Hocker",