Skip to content

Commit 24f6623

Browse files
committed
fix(calendar): reuse needs-action status constant (#881)
1 parent b3a7cf3 commit 24f6623

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/cmd/calendar_attendees.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func mergeAttendeesWithChange(existing []*calendar.EventAttendee, addCSV string)
5555
}
5656
email := attendee.Email
5757
if !existingEmails[strings.ToLower(email)] {
58-
attendee.ResponseStatus = "needsAction"
58+
attendee.ResponseStatus = taskStatusNeedsAction
5959
out = append(out, attendee)
6060
existingEmails[strings.ToLower(email)] = true
6161
added = true

0 commit comments

Comments
 (0)