mattermost/mattermost-plugin-mscalendar
Handle changes in the SiteURL on Subscriptions
オープン
#68 opened on 2020/03/31
Difficulty/1:EasyHacktoberfestHelp WantedTech/GoType/EnhancementUp For Grabs
Repository metrics
- Stars
- (22 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
When we create a subscription, we configure the subscription to use the notification API endpoint as the webhook on MSCalendar side. If there is any change on the SiteURL, all the active subscriptions will stop working since the endpoint would have changed, but MSCalendar would still be sending the notifications to the old one.
One change proposal would be that if there is a change on the SiteURL, traverse all the subscriptions and update them with the correct endpoint.