mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
log when a community is verified successfully
This commit is contained in:
parent
853b441996
commit
e924d0bb97
@ -41,6 +41,7 @@ export async function validateCommunities(): Promise<void> {
|
||||
const pubKey = await client?.getPublicKey()
|
||||
if (pubKey && pubKey === dbCom.publicKey.toString()) {
|
||||
await DbFederatedCommunity.update({ id: dbCom.id }, { verifiedAt: new Date() })
|
||||
logger.info('Federation: verified community', dbCom)
|
||||
} else {
|
||||
logger.warn(
|
||||
'Federation: received not matching publicKey:',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user