Join GitHub today
Masthead Webhook bug fix #3349
This PR fixes a bug in Webhooks for masthead type. It includes an if-else-if block to check on which global object "masthead" is defined. For categories like Data Libraries, Workflows and Visualizations, it is defined directly under "Galaxy" object but for the Galaxy's home page, it is defined under "Galaxy.page". So, whenever we use "masthead" type webhook, we should look for masthead object either in "Galaxy" or "Galaxy.page".