mattermost/mattermost-plugin-mscalendar

Handle `EmptySuggestionReason` field value in `FindMeetingTimes()` method

Aperta

#27 aperta il 29 gen 2020

 (0 commenti) (0 reazioni) (0 assegnatari)Go (35 fork)auto 404
Difficulty/1:EasyHacktoberfestHelp WantedTech/GoType/EnhancementUp For Grabs

Metriche repository

Star
 (22 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Summary

The FindMeetingTimes() method in server/remote/msgraph/find_meeting_times.go needs to handle the case where meetingsOut.EmptySuggestionReason field is a non-nil value and report the error.

Also, an error case where this error occurs on Microsoft Calendar's side needs to be discovered for testing.

Ticket Link

https://mattermost.atlassian.net/browse/MM-21348

Guida contributor