Skip to content

Commit

Permalink
js-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-r-l-rodrigues committed Aug 5, 2024
1 parent 39350b6 commit 2c2023e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/core/js-sdk/src/store/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {
DeleteResponse,
FindParams,
HttpTypes,
PaginatedResponse,
SelectParams,
DeleteResponse,
} from "@medusajs/types"
import { Client } from "../client"
import { ClientHeaders } from "../types"
Expand Down Expand Up @@ -289,9 +289,6 @@ export class Store {
if (!paymentCollectionId) {
const collectionBody = {
cart_id: cart.id,
region_id: cart.region_id,
currency_code: cart.currency_code,
amount: cart.total,
}
paymentCollectionId = (
await this.client.fetch<{
Expand Down

0 comments on commit 2c2023e

Please sign in to comment.