refactor: lookup, rm defaults (#69)

prep work for #38

Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
Jef LeCompte
2020-09-19 12:45:03 -04:00
committed by GitHub
parent 3b2ba29cf1
commit ea5b7a0918
19 changed files with 142 additions and 134 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ const channel = Config.notifications.slack.channel;
const token = Config.notifications.slack.token;
const web = new WebClient(token);
export default function sendSlackMessage(text: string) {
export function sendSlackMessage(text: string) {
(async () => {
try {
const result = await web.chat.postMessage({text, channel});