discord: rename DiscordApiClient to DiscordWebhookService.

This commit is contained in:
evazion
2021-03-10 23:36:40 -06:00
parent 7bdec9b5fa
commit 1c2f3abe56
2 changed files with 5 additions and 2 deletions

View File

@@ -167,7 +167,7 @@ class ForumPost < ApplicationRecord
def send_discord_notification
return unless policy(User.anonymous).show?
DiscordApiClient.new.post_message(self)
DiscordWebhookService.new.post_message(self)
end
def build_response