fixed wrong return type
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
80a98704af
commit
8f047f2700
@ -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');
|
||||||
|
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user