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({