diff --git a/backend/src/graphql/model/ContributionLink.ts b/backend/src/graphql/model/ContributionLink.ts index 1576fc97a..3d02953b3 100644 --- a/backend/src/graphql/model/ContributionLink.ts +++ b/backend/src/graphql/model/ContributionLink.ts @@ -19,7 +19,7 @@ export class ContributionLink { this.cycle = contributionLink.cycle this.maxPerCycle = contributionLink.maxPerCycle this.code = contributionLink.code - this.link = CONFIG.COMMUNITY_REDEEM_CONTRIBUTION_URL.replace(/{code}/g, this.code) + this.link = CONFIG.COMMUNITY_REDEEM_CONTRIBUTION_URL + this.code } @Field(() => Int) diff --git a/dht-node/src/config/index.ts b/dht-node/src/config/index.ts index a711afbbf..731e1737f 100644 --- a/dht-node/src/config/index.ts +++ b/dht-node/src/config/index.ts @@ -1,7 +1,6 @@ /* eslint-disable n/no-process-env */ import { latestDbVersion } from '@dbTools/config/detectLastDBVersion' import dotenv from 'dotenv' - import { validate } from 'gradido-config' import { schema } from './schema'