This commit is contained in:
einhornimmond 2025-10-14 09:38:34 +02:00
parent 97e503b954
commit 7f74c03fc5
2 changed files with 2 additions and 4 deletions

View File

@ -171,6 +171,7 @@ export class AuthenticationResolver {
}
authCom.communityUuid = communityUuid.data
authCom.authenticatedAt = new Date()
methodLogger.debug('try to save: ', authCom)
await authCom.save()
methodLogger.debug('store authCom.uuid successfully:', new CommunityLoggingView(authCom))
const homeComB = await getHomeCommunity()

View File

@ -39,10 +39,7 @@ export class BinaryData {
logging.error('other is invalid', other)
return false
}
return this.asHex() === other.asHex()
// don't work reliable, in specific cases fail with:
// The "otherBuffer" argument must be an instance of Buffer or Uint8Array. Received an instance of Object
// return this.buf.compare(other.asBuffer()) === 0
return this.buf.compare(other.asBuffer()) === 0
}
}