From 17736cc98521bfe6ac7e0c1479e37a5656570d51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20G=C5=82ownia?= Date: Thu, 1 Dec 2022 03:54:06 +0100 Subject: [PATCH] chore: fix accounts subscription (#2276) --- libs/accounts/src/lib/Accounts.graphql | 1 - libs/accounts/src/lib/__generated__/Accounts.ts | 3 +-- libs/accounts/src/lib/accounts-data-provider.spec.ts | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/libs/accounts/src/lib/Accounts.graphql b/libs/accounts/src/lib/Accounts.graphql index ca7bb9ba3..d1a83ed0b 100644 --- a/libs/accounts/src/lib/Accounts.graphql +++ b/libs/accounts/src/lib/Accounts.graphql @@ -31,6 +31,5 @@ subscription AccountEvents($partyId: ID) { balance assetId marketId - partyId } } diff --git a/libs/accounts/src/lib/__generated__/Accounts.ts b/libs/accounts/src/lib/__generated__/Accounts.ts index dad027a18..851546d61 100644 --- a/libs/accounts/src/lib/__generated__/Accounts.ts +++ b/libs/accounts/src/lib/__generated__/Accounts.ts @@ -17,7 +17,7 @@ export type AccountEventsSubscriptionVariables = Types.Exact<{ }>; -export type AccountEventsSubscription = { __typename?: 'Subscription', accounts: Array<{ __typename?: 'AccountUpdate', type: Types.AccountType, balance: string, assetId: string, marketId?: string | null, partyId: string }> }; +export type AccountEventsSubscription = { __typename?: 'Subscription', accounts: Array<{ __typename?: 'AccountUpdate', type: Types.AccountType, balance: string, assetId: string, marketId?: string | null }> }; export const AccountFieldsFragmentDoc = gql` fragment AccountFields on AccountBalance { @@ -83,7 +83,6 @@ export const AccountEventsDocument = gql` balance assetId marketId - partyId } } `; diff --git a/libs/accounts/src/lib/accounts-data-provider.spec.ts b/libs/accounts/src/lib/accounts-data-provider.spec.ts index 5c34b3259..7f25d2e4a 100644 --- a/libs/accounts/src/lib/accounts-data-provider.spec.ts +++ b/libs/accounts/src/lib/accounts-data-provider.spec.ts @@ -26,7 +26,6 @@ describe('getId', () => { balance: '1', assetId: 'assetId', marketId: '', - partyId: 'partyId', }) ); expect( @@ -42,7 +41,6 @@ describe('getId', () => { balance: '1', assetId: 'assetId', marketId: 'testId', - partyId: 'partyId', }) ); });