mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
8ad951d7f3
refs #9942 * Added new middleware to trigger events * Refactored webhooks service - added new trigger service, moved listen service to its own file - started listening to new site.changed event - cleaned up trigger service to work with new webhook fields - cleaned up tests - removed redundant trigger method in v0.1 controller
9 lines
148 B
JavaScript
9 lines
148 B
JavaScript
module.exports = {
|
|
get listen() {
|
|
return require('./listen');
|
|
},
|
|
|
|
get trigger() {
|
|
return require('./trigger');
|
|
}
|
|
};
|