chore: fix accounts subscription (#2276)

This commit is contained in:
Bartłomiej Głownia 2022-12-01 03:54:06 +01:00 committed by GitHub
parent 910a3e7a7f
commit 17736cc985
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 5 deletions

View File

@ -31,6 +31,5 @@ subscription AccountEvents($partyId: ID) {
balance
assetId
marketId
partyId
}
}

View File

@ -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
}
}
`;

View File

@ -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',
})
);
});