AlexTelon / FlexiCharge-Backend

6 stars 11 forks source link

Fixed problem where reserveNow did not work #221

Closed SweOlle closed 11 months ago

SweOlle commented 11 months ago

because ocpp server did not recognize a connector as a charger as previous commits changed the name from chargerID to connectorID. Belongs to issue #211

Describe your changes

Changed name from charger to connector in switch statement in server_ocpp because it was not changed when renaming the variable chargerID to connectorID. This caused issues because a variable was taken from the name "chargerID" but was now taken from "connectorID" which resulted in it being "connector" whilst it was waiting for "charger"

Issue ticket number and preferably a link

211

This change belongs to the following squad(s)

I have created unit tests for my code

Checklist before creating my pull request