Skip to content

Commit

Permalink
Updating Getting All Tickets for a User
Browse files Browse the repository at this point in the history
Using `$client->users($requesterId)->requests()->findAll();` does not work for fetching all of user's tickets, using `$client->users($requesterId)->tickets()->requested();` instead works.
  • Loading branch information
PioneerGeek committed Sep 4, 2018
1 parent 0096e8a commit e12340a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -57,7 +57,7 @@ $tickets = $client->tickets()->findAll();
print_r($tickets);

// Get all tickets regarding a specific user.
$tickets = $client->users($requesterId)->requests()->findAll();
$tickets = $client->users($requesterId)->tickets()->requested();
print_r($tickets);

// Create a new ticket
Expand Down

0 comments on commit e12340a

Please sign in to comment.