fixed wrong return type
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Timo Hocker 2022-01-05 13:01:32 +01:00
parent 80a98704af
commit 8f047f2700
Signed by: Timo
GPG Key ID: DFAC2CF4E1D1BEC9
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ class GatewayClass {
public async authenticate ( public async authenticate (
req: IncomingMessage, req: IncomingMessage,
res: ServerResponse res: ServerResponse
): Promise<unknown> { ): Promise<boolean> {
logger ('trying to authenticate http request'); logger ('trying to authenticate http request');
if (this.try_access (req)) { if (this.try_access (req)) {
logger ('authenticated via access_token'); logger ('authenticated via access_token');

View File

@ -1,6 +1,6 @@
{ {
"name": "@sapphirecode/auth-server-helper", "name": "@sapphirecode/auth-server-helper",
"version": "2.2.4", "version": "2.2.5",
"main": "dist/index.js", "main": "dist/index.js",
"author": { "author": {
"name": "Timo Hocker", "name": "Timo Hocker",