mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
search publicKey as Buffer.from with hex
This commit is contained in:
parent
8f6152218b
commit
6ca275fa30
@ -22,7 +22,7 @@ export class AuthenticationResolver {
|
||||
|
||||
// first find with args.publicKey the community, which starts openConnection request
|
||||
const requestedCom = await DbCommunity.findOneBy({
|
||||
publicKey: Buffer.from(args.publicKey),
|
||||
publicKey: Buffer.from(args.publicKey, 'hex'),
|
||||
})
|
||||
if (!requestedCom) {
|
||||
throw new LogError(`unknown requesting community with publicKey`, args.publicKey)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user