diff --git a/src/components/Controls/SendDiagnosticCommand/index.jsx b/src/components/Controls/SendDiagnosticCommand/index.jsx index 3bb57d6..83e9dc7 100644 --- a/src/components/Controls/SendDiagnosticCommand/index.jsx +++ b/src/components/Controls/SendDiagnosticCommand/index.jsx @@ -97,7 +97,7 @@ const SendDiagnosticCommand = ({ vin, token, classes }) => { } else if (currentCommand === "remote_ignition") { await sendDiagnosticCommand([vin], { command: currentCommand, ignition_action: ignitionState ? "on" : "off", timeout: seconds }, token); } else if (currentCommand === "sms") { - const res = await smsAPI.send({ ICCID: vehicle.iccid, await: true, messageText: "remote_diagnostic" }) + const res = await smsAPI.send({ ICCID: vehicle.iccid, await: true, messageText: "remote_diagnostic" }, token) if (res.error) { setMessage(`Failed to wake up the car: ${res.error}`) return;