We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d7cf54 commit 8d9a1a3Copy full SHA for 8d9a1a3
src/Devices.php
@@ -147,7 +147,7 @@ public function onSession($id, array $data)
147
->setAllowedTypes('sdk', 'string')
148
->resolve($data);
149
150
- return $this->api->request('PUT', '/players/' . $id . '/on_session', [
+ return $this->api->request('POST', '/players/' . $id . '/on_session', [
151
'headers' => [
152
'Content-Type' => 'application/json',
153
],
@@ -207,7 +207,7 @@ public function onFocus($id, array $data)
207
->setAllowedTypes('active_time', 'int')
208
209
210
- return $this->api->request('PUT', '/players/' . $id . '/on_focus', [
+ return $this->api->request('POST', '/players/' . $id . '/on_focus', [
211
212
213
0 commit comments