From 359fd9e3642659fb0072e9cf935319ca2acbd51e Mon Sep 17 00:00:00 2001 From: Erik Kieckhafer Date: Sun, 2 Feb 2020 15:09:51 -0800 Subject: [PATCH] fix: update query with required shopIds array Signed-off-by: Erik Kieckhafer --- src/containers/order/queries.gql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/order/queries.gql b/src/containers/order/queries.gql index 17d207dff3..67070f386e 100644 --- a/src/containers/order/queries.gql +++ b/src/containers/order/queries.gql @@ -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 {