Skip to content

Commit

Permalink
Replace data with attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenclouston committed Nov 29, 2024
1 parent c38469e commit 630982d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Authsignal/Authsignal.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ public static function updateUser(array $params)
{
$request = new AuthsignalClient();
$userId = urlencode($params['userId']);
$data = $params['data'];
$attributes = $params['attributes'];
$path = "/users/{$userId}";
list($response, $request) = $request->send($path, $data, 'post');
list($response, $request) = $request->send($path, $attributes, 'post');
return $response;
}

Expand Down

0 comments on commit 630982d

Please sign in to comment.