Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit 5ebe646

Browse files
Merge pull request #11 from CyberfusionIO/bugfix/identity-update
Use the proper key for the handle when updating an identity
2 parents c505998 + 92c33c4 commit 5ebe646

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). Please note this changelog affects
66
this package and not the Oxxa API.
77

8+
## [2.1.2]
9+
10+
### Fixed
11+
12+
- Use the proper key for the handle when updating an identity.
13+
814
## [2.1.1]
915

1016
### Fixed

src/Endpoints/IdentityEndpoint.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public function update(string $handle, Identity $identity): OxxaResult
199199
->request(array_merge(
200200
[
201201
'command' => 'identity_upd',
202-
'handle' => $handle,
202+
'identity' => $handle,
203203
],
204204
$identity->toArray()
205205
));

src/Oxxa.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Oxxa implements OxxaClient
1414
{
1515
private const TIMEOUT = 180;
1616

17-
private const VERSION = '2.1.1';
17+
private const VERSION = '2.1.2';
1818

1919
private const USER_AGENT = 'oxxa-api-client/'.self::VERSION;
2020

0 commit comments

Comments
 (0)