feat(slur/swear): working on it

This commit is contained in:
CuriousMagpie
2023-12-01 16:11:27 -05:00
parent 7277b5cad5
commit bdb2e06e5e
2 changed files with 18 additions and 37 deletions
@@ -240,7 +240,7 @@ api.createChallenge = {
|| (textContainsBannedSlur(req.body.description)))) {
// slack flagged-posts
const authorEmail = getUserInfo(user, ['email']).email;
slack.sendSlurNotification({
slack.sendChallengeSlurNotification({
authorEmail,
author: user,
group,