Refactor response status textToPost #3
Labels
Difficulty/2:Medium
Medium ticket
Hacktoberfest
Help Wanted
Community help wanted
Type/Enhancement
New feature or improvement of existing feature
Up For Grabs
Ready for help from the community. Removed when someone volunteers
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.
The text was updated successfully, but these errors were encountered: