Skip to content

Commit

Permalink
fix: Incorrect apartment number key
Browse files Browse the repository at this point in the history
  • Loading branch information
noahpistilli committed Dec 20, 2024
1 parent b1c13ff commit db8fe84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dominos/dominos.go
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ func (d *Dominos) PlaceOrder(info *User) error {
}

if info.ApartmentNumber != "" {
payload["Order"].(map[string]any)["Address"].(map[string]any)["AddressLine2"] = info.ApartmentNumber
payload["Order"].(map[string]any)["Address"].(map[string]any)["UnitNumber"] = info.ApartmentNumber
}

if info.OrderTime != "" {
Expand Down

0 comments on commit db8fe84

Please sign in to comment.