Skip to content

Commit

Permalink
fix(telecom): send selected shipping contact id (#14996)
Browse files Browse the repository at this point in the history
ref: MANAGER-16768

Signed-off-by: Tristan WAGNER <[email protected]>
  • Loading branch information
tristanwagner authored and William Mbotta committed Jan 21, 2025
1 parent a85ddd7 commit 209f6be
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,12 @@ export default class TelecomTelephonyLinePhoneOrderCtrl {
hardware: this.order.phone,
retractation: this.order.retract,
};

if (get(this.order, 'shipping.mode') === 'mondialRelay') {
params.mondialRelayId = this.order.shipping.relay.id;
} else {
params.shippingContactId = this.order.contact.id;
}

params.shippingContactId = this.order.contact.id;
this.isSubmiting = true;
return this.OvhApiOrder.Telephony()
.v6()
Expand Down

0 comments on commit 209f6be

Please sign in to comment.