Skip to content

Commit

Permalink
Merge pull request #656 from reactioncommerce/fix-kieckhafer-profileO…
Browse files Browse the repository at this point in the history
…rderPageError

fix: update query with required shopIds array
  • Loading branch information
aldeed authored Feb 3, 2020
2 parents dc9a689 + 359fd9e commit 3fd4cd5
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 3fd4cd5

Please sign in to comment.