Skip to content

Commit

Permalink
fix(ocpi-2.2.1) path for PATCH evse and connector
Browse files Browse the repository at this point in the history
  • Loading branch information
atschabu committed Dec 1, 2023
1 parent 486a2f3 commit 634ec68
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class LocationsCpoClient(
send(
HttpRequest(
method = HttpMethod.PATCH,
path = "/$countryCode/$partyId/$locationId",
path = "/$countryCode/$partyId/$locationId/$evseUid",
body = mapper.writeValueAsString(evse)
)
.withRequiredHeaders(
Expand All @@ -208,7 +208,7 @@ class LocationsCpoClient(
send(
HttpRequest(
method = HttpMethod.PATCH,
path = "/$countryCode/$partyId/$locationId",
path = "/$countryCode/$partyId/$locationId/$evseUid/$connectorId",
body = mapper.writeValueAsString(connector)
)
.withRequiredHeaders(
Expand Down

0 comments on commit 634ec68

Please sign in to comment.