diff --git a/internal/cmd/calendar_list.go b/internal/cmd/calendar_list.go index 1dd324a5..5eddcb3c 100644 --- a/internal/cmd/calendar_list.go +++ b/internal/cmd/calendar_list.go @@ -20,6 +20,7 @@ func calendarEventsListCall(ctx context.Context, svc *calendar.Service, calendar MaxResults(maxResults). SingleEvents(true). OrderBy("startTime"). + ShowDeleted(false). Context(ctx) if strings.TrimSpace(pageToken) != "" { call = call.PageToken(pageToken) diff --git a/internal/cmd/contacts_crud.go b/internal/cmd/contacts_crud.go index 31cdc298..0262f92d 100644 --- a/internal/cmd/contacts_crud.go +++ b/internal/cmd/contacts_crud.go @@ -247,7 +247,7 @@ func contactsURLs(values []string) []*people.Url { return out } -func contactsApplyPersonName(person *people.Person, givenSet bool, given, familySet bool, family string) { +func contactsApplyPersonName(person *people.Person, givenSet bool, given string, familySet bool, family string) { curGiven := "" curFamily := "" if len(person.Names) > 0 && person.Names[0] != nil { @@ -263,7 +263,7 @@ func contactsApplyPersonName(person *people.Person, givenSet bool, given, family person.Names = []*people.Name{{GivenName: curGiven, FamilyName: curFamily}} } -func contactsApplyPersonOrganization(person *people.Person, orgSet bool, org, titleSet bool, title string) { +func contactsApplyPersonOrganization(person *people.Person, orgSet bool, org string, titleSet bool, title string) { curOrg := "" curTitle := "" if len(person.Organizations) > 0 && person.Organizations[0] != nil {