fixed wrong return type
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-01-05 13:01:32 +01:00
parent 80a98704af
commit 8f047f2700
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ class GatewayClass {
public async authenticate (
req: IncomingMessage,
res: ServerResponse
): Promise<unknown> {
): Promise<boolean> {
logger ('trying to authenticate http request');
if (this.try_access (req)) {
logger ('authenticated via access_token');
+1 -1
View File
@@ -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",