diff --git a/server/schema/transactions/types.ts b/server/schema/transactions/types.ts index e47452cc..a0396b8d 100644 --- a/server/schema/transactions/types.ts +++ b/server/schema/transactions/types.ts @@ -39,7 +39,7 @@ export const transactionTypes = gql` safe_fee: Int! safe_tokens: Int secret: String! - tokens: Int! + tokens: String! type: String! date: String! } @@ -61,7 +61,7 @@ export const transactionTypes = gql` received_mtokens: String! request: String secret: String! - tokens: Int! + tokens: String! type: String! date: String! } diff --git a/src/graphql/queries/__tests__/__snapshots__/queryTests.ts.snap b/src/graphql/queries/__tests__/__snapshots__/queryTests.ts.snap index 4bbef0ea..7f1fa900 100644 --- a/src/graphql/queries/__tests__/__snapshots__/queryTests.ts.snap +++ b/src/graphql/queries/__tests__/__snapshots__/queryTests.ts.snap @@ -953,7 +953,7 @@ Object { "received_mtokens": "string", "request": "string", "secret": "string", - "tokens": 1000, + "tokens": "1000", "type": "invoice", }, ], diff --git a/src/graphql/types.ts b/src/graphql/types.ts index d69ffba3..cbaba4d5 100644 --- a/src/graphql/types.ts +++ b/src/graphql/types.ts @@ -862,7 +862,7 @@ export type PaymentType = { safe_fee: Scalars['Int']; safe_tokens?: Maybe; secret: Scalars['String']; - tokens: Scalars['Int']; + tokens: Scalars['String']; type: Scalars['String']; date: Scalars['String']; }; @@ -885,7 +885,7 @@ export type InvoiceType = { received_mtokens: Scalars['String']; request?: Maybe; secret: Scalars['String']; - tokens: Scalars['Int']; + tokens: Scalars['String']; type: Scalars['String']; date: Scalars['String']; };