diff --git a/dht-node/src/dht_node/index.ts b/dht-node/src/dht_node/index.ts index f0cd8eb2b..e8bfe1bda 100644 --- a/dht-node/src/dht_node/index.ts +++ b/dht-node/src/dht_node/index.ts @@ -215,9 +215,7 @@ async function writeFederatedHomeCommunityEntries(pubKey: string): Promise { try { // check for existing homeCommunity entry - let homeCom = await DbCommunity.findOne({ - foreign: false, - }) + let homeCom = await DbCommunity.findOne({ foreign: false }) if (homeCom) { // simply update the existing entry, but it MUST keep the ID and UUID because of possible relations homeCom.publicKey = Buffer.from(pubKey)