Skip to content

Commit 3fd4cd5

Browse files
authored
Merge pull request #656 from reactioncommerce/fix-kieckhafer-profileOrderPageError
fix: update query with required shopIds array
2 parents dc9a689 + 359fd9e commit 3fd4cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/order/queries.gql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ query orderByReferenceId($id: ID!, $language: String!, $shopId: ID!, $token: Str
88
}
99

1010
# Get orders by accountId
11-
query ordersByAccountIdQuery($accountId: ID!, $language: String!, $orderStatus: [String]! = ["all"], $shopIds: [ID], $first: ConnectionLimitInt, $last: ConnectionLimitInt, $before: ConnectionCursor, $after: ConnectionCursor) {
11+
query ordersByAccountIdQuery($accountId: ID!, $language: String!, $orderStatus: [String]! = ["all"], $shopIds: [ID]!, $first: ConnectionLimitInt, $last: ConnectionLimitInt, $before: ConnectionCursor, $after: ConnectionCursor) {
1212
orders: ordersByAccountId(accountId: $accountId, orderStatus: $orderStatus, shopIds: $shopIds, first: $first, last: $last, before: $before, after: $after) {
1313
totalCount
1414
pageInfo {

0 commit comments

Comments
 (0)