Fix slug typo (#1364)
This commit is contained in:
parent
67ee564730
commit
d8ff236f69
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ module AssignTagModerator
|
|||
user = User.find(user_id)
|
||||
tag = Tag.find_by(name: tag_names[index])
|
||||
user.add_role(:tag_moderator, tag)
|
||||
ChatChannel.find_by_slug("tag_moderators").add_users(user)
|
||||
ChatChannel.find_by_slug("tag-moderators").add_users(user)
|
||||
NotifyMailer.tag_moderator_confirmation_email(user, tag.name).deliver unless tag.name == "go"
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue