Asana / php-asana

Official PHP client library for the Asana API v1
MIT License
136 stars 59 forks source link

Events #76

Open Stdubic opened 3 years ago

Stdubic commented 3 years ago

Hi all,

I have issues with events:

$events = $api->events->getEvents(['resource' => $pojectId]);

returns null

when I try:

$events = $api->events->getIterator(['resource' => $pojectId])); foreach ($events as $event) { var_dump($event); }

when it tries to iterate iterator fails with InvalidTokenError (code: 500)

can you help, please