Skip to content

Commit

Permalink
Merge pull request #4 from fleetbase/dev-v1.1.7
Browse files Browse the repository at this point in the history
release v1.1.8
  • Loading branch information
tortuvshin committed Feb 23, 2024
2 parents 3baada2 + 86954bb commit f3f9861
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fleetbase/storefront",
"version": "1.1.7",
"version": "1.1.8",
"description": "Fleetbase Storefront JS & Node SDK",
"main": "dist/cjs/storefront.js",
"module": "dist/esm/storefront.js",
Expand Down
2 changes: 1 addition & 1 deletion src/resources/checkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const checkoutActions = new StoreActions({
},

captureOrder: function (token, transactionDetails = {}, options = {}) {
return this.adapter.get(`${this.namespace}/capture`, { token, transactionDetails }, options).then((orderJson) => new Order(orderJson));
return this.adapter.post(`${this.namespace}/capture`, { token, transactionDetails }, options).then((orderJson) => new Order(orderJson));
},
});

Expand Down

0 comments on commit f3f9861

Please sign in to comment.