Skip to content

Commit db28392

Browse files
committed
Replaced the PATCH method by PUT method on resources upsert
1 parent 30039a4 commit db28392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client/ResourceClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function upsertResource($uri, array $uriParameters = [], array $body = []
138138

139139
$uri = $this->uriGenerator->generate($uri, $uriParameters);
140140
$response = $this->httpClient->sendRequest(
141-
'PATCH',
141+
'PUT',
142142
$uri,
143143
['Content-Type' => 'application/json'],
144144
json_encode($body)

0 commit comments

Comments
 (0)