Skip to content

Commit 9ed086e

Browse files
committed
refractor: change name of the core class
1 parent 26c2258 commit 9ed086e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Entity/Event.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
namespace OpenLRW\Entity;
1616

1717
use DateTime;
18-
use OpenLRW\ApiClient;
18+
use OpenLRW\OpenLRW;
1919
use OpenLRW\Exception\GenericException;
2020

2121
class Event
@@ -26,10 +26,10 @@ private static function postCaliper($data)
2626
$header = [
2727
'X-Requested-With' => 'XMLHttpRequest',
2828
'Content-Type' => 'application/json',
29-
'Authorization' => ApiClient::getKey()
29+
'Authorization' => OpenLRW::getKey()
3030
];
3131

32-
return ApiClient::guzzlePost("key/caliper", ['headers' => $header, 'body' => $data])->getStatusCode();
32+
return OpenLRW::guzzlePost('key/caliper', ['headers' => $header, 'body' => $data])->getStatusCode();
3333
}
3434

3535

0 commit comments

Comments
 (0)