This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
outline/services/slack/index.js
Tom Moor 9d441fc51a Webhook / Integration Event bus (#499)
* First bash at an event bus for webhooks and integrations

* Refactoring

* poc

* Revert too wide ranging changes
Move to two-queues
2018-01-13 10:46:29 -08:00

11 lines
213 B
JavaScript

// @flow
import type { Event } from '../../server/events';
const Slack = {
on: (event: Event) => {
console.log(`Slack service received ${event.name}, id: ${event.model.id}`);
},
};
export default Slack;