@@ -420,7 +420,7 @@ public function getDashboardForWorkspace($workspaceId)
420
420
*/
421
421
public function getMe ($ related = false )
422
422
{
423
- return $ this ->GET ('me ' , [], [ 'with_related_data ' => $ related ]);
423
+ return $ this ->GET ('me ' , ['with_related_data ' => $ related ]);
424
424
}
425
425
426
426
/**
@@ -868,7 +868,7 @@ public function getTimeEntries()
868
868
*/
869
869
public function getTimeEntriesInRange ($ start , $ end )
870
870
{
871
- return $ this ->GET ('time_entries ' , [], [ 'start_date ' => $ start , 'end_date ' => $ end ]);
871
+ return $ this ->GET ('time_entries ' , ['start_date ' => $ start , 'end_date ' => $ end ]);
872
872
}
873
873
874
874
/**
@@ -918,10 +918,10 @@ public function deleteTimeEntry($timeEntryId)
918
918
*
919
919
* @return bool|mixed|object
920
920
*/
921
- private function GET ($ endpoint , $ body = array (), $ query = array ())
921
+ private function GET ($ endpoint , $ query = array ())
922
922
{
923
923
try {
924
- $ response = $ this ->client ->get ($ endpoint , ['body ' => json_encode ( $ body ), ' query ' => $ query ]);
924
+ $ response = $ this ->client ->get ($ endpoint , ['query ' => $ query ]);
925
925
926
926
return $ this ->checkResponse ($ response );
927
927
} catch (ClientException $ e ) {
0 commit comments