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