mattermost-plugin-google-calendar
mattermost-plugin-google-calendar copied to clipboard
Refactor response status textToPost
Summary
The updateEventsInDatabase()
function could benefit from refactoring. This ticket is a request to create a utility function to share this duplicated code.
Here is the relevant code that needs to be modified: https://github.com/mattermost/mattermost-plugin-google-calendar/blob/master/server/utils.go#L202 https://github.com/mattermost/mattermost-plugin-google-calendar/blob/master/server/utils.go#L372
If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team.
New contributors, please see our Developer's Guide and our Plugins Guide.