From 8c5e10415b458205ec8cbe98c6776ec49bf779f0 Mon Sep 17 00:00:00 2001 From: Claus-Peter Huebner Date: Thu, 25 May 2023 11:53:33 +0200 Subject: [PATCH] remove export from write-functions --- dht-node/src/dht_node/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dht-node/src/dht_node/index.ts b/dht-node/src/dht_node/index.ts index 4fd0bd733..36291904a 100644 --- a/dht-node/src/dht_node/index.ts +++ b/dht-node/src/dht_node/index.ts @@ -186,7 +186,7 @@ export const startDHT = async (topic: string): Promise => { } } -export async function writeFederatedHomeCommunityEntries(pubKey: string): Promise { +async function writeFederatedHomeCommunityEntries(pubKey: string): Promise { const homeApiVersions: CommunityApi[] = Object.values(ApiVersionType).map(function (apiEnum) { const comApi: CommunityApi = { api: apiEnum, @@ -212,7 +212,7 @@ export async function writeFederatedHomeCommunityEntries(pubKey: string): Promis return homeApiVersions } -export async function writeHomeCommunityEntry(pubKey: string): Promise { +async function writeHomeCommunityEntry(pubKey: string): Promise { try { // check for existing homeCommunity entry let homeCom = await DbCommunity.findOne({