mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
logoutput after invokations without awaits
This commit is contained in:
parent
419d4d4075
commit
c7ca20fcd6
@ -54,8 +54,9 @@ export class AuthenticationResolver {
|
||||
throw new Error(errmsg)
|
||||
}
|
||||
|
||||
// biome-ignore lint/complexity/noVoid: no await to respond immediately and invoke callback-request asynchronously
|
||||
// no await to respond immediately and invoke callback-request asynchronously
|
||||
void startOpenConnectionCallback(args.handshakeID, args.publicKey, CONFIG.FEDERATION_API)
|
||||
logger.debug('openConnection() successfully initiated callback and returns true immediately...')
|
||||
logger.removeContext('handshakeID')
|
||||
return true
|
||||
}
|
||||
@ -90,8 +91,9 @@ export class AuthenticationResolver {
|
||||
`found fedComB and start authentication:`,
|
||||
new FederatedCommunityLoggingView(fedComB),
|
||||
)
|
||||
// biome-ignore lint/complexity/noVoid: no await to respond immediately and invoke authenticate-request asynchronously
|
||||
// no await to respond immediately and invoke authenticate-request asynchronously
|
||||
void startAuthentication(args.handshakeID, openConnectionCallbackJwtPayload.oneTimeCode, fedComB)
|
||||
logger.debug('openConnectionCallback() successfully initiated authentication and returns true immediately...')
|
||||
logger.removeContext('handshakeID')
|
||||
return true
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user