From ff412d758fa2e304fd49180bb8ebb584c9e614a5 Mon Sep 17 00:00:00 2001 From: Claus-Peter Huebner Date: Fri, 19 May 2023 18:06:29 +0200 Subject: [PATCH] rework PR-comments --- deployment/bare_metal/.env.dist | 2 +- dht-node/src/dht_node/index.test.ts | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/deployment/bare_metal/.env.dist b/deployment/bare_metal/.env.dist index f20a8c2d1..2c237d22c 100644 --- a/deployment/bare_metal/.env.dist +++ b/deployment/bare_metal/.env.dist @@ -57,7 +57,7 @@ EMAIL_CODE_REQUEST_TIME=10 WEBHOOK_ELOPAGE_SECRET=secret # Federation -FEDERATION_DHT_CONFIG_VERSION=v2.2023-02-07 +FEDERATION_DHT_CONFIG_VERSION=v3.2023-04-26 # if you set the value of FEDERATION_DHT_TOPIC, the DHT hyperswarm will start to announce and listen # on an hash created from this topic # FEDERATION_DHT_TOPIC=GRADIDO_HUB diff --git a/dht-node/src/dht_node/index.test.ts b/dht-node/src/dht_node/index.test.ts index 0b80b60bc..04a45c51a 100644 --- a/dht-node/src/dht_node/index.test.ts +++ b/dht-node/src/dht_node/index.test.ts @@ -195,11 +195,7 @@ describe('federation', () => { const resultBefore = await DbCommunity.find({ foreign: false }) expect(resultBefore).toHaveLength(1) const modifiedCom = DbCommunity.create() - modifiedCom.communityUuid = resultBefore[0].communityUuid - modifiedCom.creationDate = resultBefore[0].creationDate modifiedCom.description = 'updated description' - modifiedCom.foreign = resultBefore[0].foreign - modifiedCom.id = resultBefore[0].id modifiedCom.name = 'update name' modifiedCom.publicKey = Buffer.from( '1234567891abcdef7892abcdef7893abcdef7894abcdef7895abcdef7896abcd',