Skip to content

Commit

Permalink
fix(telecom): send selected shipping contact id
Browse files Browse the repository at this point in the history
ref: INC0105981

Signed-off-by: Tristan WAGNER <[email protected]>
  • Loading branch information
tristanwagner committed Jan 17, 2025
1 parent 9533c7d commit 09e3717
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 09e3717

Please sign in to comment.