Fixed bug that caused data not being sent to the leftronic api