Skip to content

Commit

Permalink
Change updateUser to use patch instead of post
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenclouston committed Dec 1, 2024
1 parent eef447b commit 1ef8ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Authsignal/Authsignal.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static function updateUser(array $params)
$userId = urlencode($params['userId']);
$attributes = $params['attributes'];
$path = "/users/{$userId}";
list($response, $request) = $request->send($path, $attributes, 'post');
list($response, $request) = $request->send($path, $attributes, 'patch');
return $response;
}

Expand Down

0 comments on commit 1ef8ff5

Please sign in to comment.