Skip to content

Commit 8211d89

Browse files
ashishkumarpundeerashishkumarpundeer
authored andcommitted
AC-6084::GraphQl error in customerOrders query: "\"model\" value should be specified"
1 parent bcb0fea commit 8211d89

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/SalesGraphQl/Model/Resolver

1 file changed

+1
-0
lines changed

app/code/Magento/SalesGraphQl/Model/Resolver/Orders.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ public function resolve(
6161
'created_at' => $order->getCreatedAt(),
6262
'grand_total' => $order->getGrandTotal(),
6363
'status' => $order->getStatus(),
64+
'model' => $order
6465
];
6566
}
6667
return ['items' => $items];

0 commit comments

Comments
 (0)