diff --git a/backend/src/graphql/models/GdtEntry.ts b/backend/src/graphql/models/GdtEntry.ts index 48ca91160..014195fcd 100644 --- a/backend/src/graphql/models/GdtEntry.ts +++ b/backend/src/graphql/models/GdtEntry.ts @@ -15,7 +15,6 @@ export enum GdtEntryType { @ObjectType() export class GdtEntry { constructor(json: any) { - // console.log(json) this.transactionId = json.transaction_id this.amount = json.amount this.date = json.date diff --git a/backend/src/graphql/models/Transaction.ts b/backend/src/graphql/models/Transaction.ts index 7e1102cce..87535c4a2 100644 --- a/backend/src/graphql/models/Transaction.ts +++ b/backend/src/graphql/models/Transaction.ts @@ -11,7 +11,6 @@ import { Decay } from './Decay' @ObjectType() export class Transaction { constructor(json: any) { - // console.log('Transaction constructor', json) this.type = json.type this.balance = Number(json.balance) this.decayStart = json.decay_start diff --git a/backend/src/graphql/resolvers/GdtResolver.ts b/backend/src/graphql/resolvers/GdtResolver.ts index f253e70a0..0ff187bd1 100644 --- a/backend/src/graphql/resolvers/GdtResolver.ts +++ b/backend/src/graphql/resolvers/GdtResolver.ts @@ -14,9 +14,8 @@ export class GdtResolver { { currentPage = 1, pageSize = 5, order = 'DESC', sessionId }: GdtTransactionSessionIdInput, ): Promise { const result = await apiGet( - `${CONFIG.GDT_API_URL}/listGDTTransactions/${currentPage}/${pageSize}/${order}/${sessionId}`, + `${CONFIG.COMMUNITY_API_URL}listGDTTransactions/${currentPage}/${pageSize}/${order}/${sessionId}`, ) - // console.log(result.data) if (!result.success) { throw new Error(result.data) }