File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ public function onSession($id, array $data)
147147 ->setAllowedTypes ('sdk ' , 'string ' )
148148 ->resolve ($ data );
149149
150- return $ this ->api ->request ('PUT ' , '/players/ ' . $ id . '/on_session ' , [
150+ return $ this ->api ->request ('POST ' , '/players/ ' . $ id . '/on_session ' , [
151151 'headers ' => [
152152 'Content-Type ' => 'application/json ' ,
153153 ],
@@ -207,7 +207,7 @@ public function onFocus($id, array $data)
207207 ->setAllowedTypes ('active_time ' , 'int ' )
208208 ->resolve ($ data );
209209
210- return $ this ->api ->request ('PUT ' , '/players/ ' . $ id . '/on_focus ' , [
210+ return $ this ->api ->request ('POST ' , '/players/ ' . $ id . '/on_focus ' , [
211211 'headers ' => [
212212 'Content-Type ' => 'application/json ' ,
213213 ],
You can’t perform that action at this time.
0 commit comments