From 0bb00a3af43105a1bbbfa7861060bb468127ea1a Mon Sep 17 00:00:00 2001 From: elweyn Date: Thu, 6 Apr 2023 23:35:30 +0200 Subject: [PATCH] fix(federation): correct exported of community url.' --- backend/src/graphql/model/Community.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/src/graphql/model/Community.ts b/backend/src/graphql/model/Community.ts index 22b2b1fc6..d79d40034 100644 --- a/backend/src/graphql/model/Community.ts +++ b/backend/src/graphql/model/Community.ts @@ -8,9 +8,7 @@ export class Community { this.foreign = dbCom.foreign this.publicKey = dbCom.publicKey.toString() this.url = - (dbCom.endPoint.endsWith('/') ? dbCom.endPoint : dbCom.endPoint + '/') + - 'api/' + - dbCom.apiVersion + (dbCom.endPoint.endsWith('/') ? dbCom.endPoint : dbCom.endPoint + '/') + dbCom.apiVersion this.lastAnnouncedAt = dbCom.lastAnnouncedAt this.verifiedAt = dbCom.verifiedAt this.lastErrorAt = dbCom.lastErrorAt