Skip to content

Commit 8758cc7

Browse files
author
bloom
committed
improve store service
1 parent bd94387 commit 8758cc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/services/store/service/place_order.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ func (service *StoreService) PlaceOrder(ctx context.Context, input store.PlaceOr
228228
CreatedAt: now,
229229
UpdatedAt: now,
230230
TotalAmount: totalAmount,
231-
Currency: website.Currency,
231+
Currency: websites.Currency(strings.ToUpper(currency)),
232232
Notes: "",
233233
Status: store.OrderStatusPending,
234234
CompletedAt: nil,

0 commit comments

Comments
 (0)