Skip to content

Fix/filter cancelled events#362

Merged
steipete merged 2 commits intoopenclaw:mainfrom
sharukh010:fix/filter-cancelled-events
Mar 7, 2026
Merged

Fix/filter cancelled events#362
steipete merged 2 commits intoopenclaw:mainfrom
sharukh010:fix/filter-cancelled-events

Conversation

@sharukh010
Copy link
Copy Markdown
Contributor

1. Fix: Filter cancelled events from calendar list

gog calendar list was returning cancelled events because ShowDeleted
was not explicitly set in the API call.

Added .ShowDeleted(false) to calendarEventsListCall, ensuring the
Google Calendar API filters out cancelled events before returning results.

2. Fix: Bool/string type mismatch in contacts (contacts_crud.go)

Variables given and org were incorrectly declared as bool but are
used as strings throughout the function (e.g. passed to strings.TrimSpace
and contact name/org setters).

Changed declarations from bool to string to match their actual usage.

Fixes #358

@econosopher
Copy link
Copy Markdown

Love it.

@salmonumbrella
Copy link
Copy Markdown
Contributor

Thanks.

@steipete steipete merged commit d2acfa4 into openclaw:main Mar 7, 2026
1 check passed
@steipete
Copy link
Copy Markdown
Collaborator

steipete commented Mar 7, 2026

Follow-up landed on main after the merge race:

Thanks @sharukh010!

klodr pushed a commit to klodr/gogcli that referenced this pull request Apr 22, 2026
* fix: filter cancelled events from calendar list by default

* fix(contacts): fix bool/string type mismatch in apply helpers.
klodr pushed a commit to klodr/gogcli that referenced this pull request Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

calendar list returns cancelled/deleted events

4 participants