mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
correct response treatment of openConnectionCallback
This commit is contained in:
parent
3b9ff8a4a4
commit
008d8ac243
@ -33,8 +33,9 @@ export class AuthenticationClient {
|
||||
logger.debug('openConnectionCallback with endpoint', this.endpoint, args)
|
||||
try {
|
||||
const { data } = await this.client.rawRequest<any>(openConnectionCallback, { args })
|
||||
logger.debug('after openConnectionCallback: data:', data)
|
||||
|
||||
if (data && data.openConnectionCallback) {
|
||||
if (!data || !data.openConnectionCallback) {
|
||||
logger.warn('openConnectionCallback without response data from endpoint', this.endpoint)
|
||||
return false
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user