mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
try workaround
This commit is contained in:
parent
83f2965299
commit
412557b76d
@ -171,7 +171,7 @@ export class AuthenticationResolver {
|
||||
)
|
||||
}
|
||||
methodLogger.debug('before loading auth community again from db')
|
||||
const authComFresh = await getCommunityByPublicKeyOrFail(authComPublicKey)
|
||||
const authComFresh = await getCommunityByPublicKeyOrFail(argsPublicKey)
|
||||
authComFresh.communityUuid = communityUuid.data
|
||||
authComFresh.authenticatedAt = new Date()
|
||||
methodLogger.debug('after loading auth community again from db')
|
||||
|
||||
@ -27,6 +27,10 @@ export class BinaryData {
|
||||
}
|
||||
|
||||
asBuffer(): Buffer {
|
||||
if (!this.buf || !Buffer.isBuffer(this.buf)) {
|
||||
logging.warn('BinaryData.buf is invalid, try to create fresh buffer from hex')
|
||||
this.buf = Buffer.from(this.hex, 'hex')
|
||||
}
|
||||
return this.buf
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user