Skip to content

Commit

Permalink
add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
vsseixaso committed Sep 3, 2024
1 parent 53fc071 commit 980975d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [2.171.1-beta] - 2024-09-03
### Deprecated
- Checkout orders endpoint. Now returns empty array

## [2.171.0] - 2024-06-28

Expand Down
14 changes: 0 additions & 14 deletions node/resolvers/checkout/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,20 +304,6 @@ export const queries: Record<string, Resolver> = {
return checkout.orders()
},

// orders: async (_, __, { clients: { checkout } }) => {
// try {
// const result = await checkout.orders()

// return result
// } catch (err) {
// if (err.response && err.response.status === 405) {
// return []
// }

// throw err
// }
// },

shipping: (_, args: any, { clients: { checkout } }) => {
return checkout.simulation(args)
},
Expand Down

0 comments on commit 980975d

Please sign in to comment.