Skip to content

Commit

Permalink
fix: update query with required shopIds array
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Kieckhafer <ek@ato.la>
  • Loading branch information
kieckhafer committed Feb 2, 2020
1 parent dc9a689 commit 359fd9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/order/queries.gql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ query orderByReferenceId($id: ID!, $language: String!, $shopId: ID!, $token: Str
}

# Get orders by accountId
query ordersByAccountIdQuery($accountId: ID!, $language: String!, $orderStatus: [String]! = ["all"], $shopIds: [ID], $first: ConnectionLimitInt, $last: ConnectionLimitInt, $before: ConnectionCursor, $after: ConnectionCursor) {
query ordersByAccountIdQuery($accountId: ID!, $language: String!, $orderStatus: [String]! = ["all"], $shopIds: [ID]!, $first: ConnectionLimitInt, $last: ConnectionLimitInt, $before: ConnectionCursor, $after: ConnectionCursor) {
orders: ordersByAccountId(accountId: $accountId, orderStatus: $orderStatus, shopIds: $shopIds, first: $first, last: $last, before: $before, after: $after) {
totalCount
pageInfo {
Expand Down

0 comments on commit 359fd9e

Please sign in to comment.