Olen / Spond

GNU General Public License v3.0
45 stars 23 forks source link

`Spond.get_events()` does not return hidden events. #164

Open Yannis-G opened 2 days ago

Yannis-G commented 2 days ago

I am an administrator for my club's group, which uses subgroups to organize events for different sections Currently, the Spond.get_events() method only returns events from the subgroups I am explicitly a member of, even though, with admin permissions, I am able to access all events.

The API provides a parameter called includeHidden. When set to true, this parameter allows access to all events, including those restricted to admin view. I've tested adding includeHidden=true to the parameters of Spond.get_events(), and it successfully returns all events as expected.

Could Spond.get_events() get an extra parameter to include hidden events.

elliot-100 commented 2 days ago

Interesting - I don't encounter this issue but I am currently the owner of all groups I get data from.

Would you like to put a PR forward?