Skip to content

Commit

Permalink
Merge pull request #209 from weni-ai/fix/cart-simulation
Browse files Browse the repository at this point in the history
Remove # at the beginning of sellerID
  • Loading branch information
Robi9 authored Dec 17, 2024
2 parents 85ac286 + 9a228fe commit 9ee0562
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/external/weni/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,8 @@ func CartSimulation(ProductRetailerIDS []flows.ProductEntry, sellerID string, ur
var availableProducts []string
var products []string

sellerID = strings.TrimLeft(sellerID, "#")

urlSplit := strings.Split(url, "api")
urlSimulation := urlSplit[0] + "api/checkout/pub/orderForms/simulation"

Expand Down

0 comments on commit 9ee0562

Please sign in to comment.