discord: rename DiscordApiClient to DiscordWebhookService.

This commit is contained in:
evazion
2021-03-11 03:02:50 -06:00
parent 7bdec9b5fa
commit 1c2f3abe56
2 changed files with 5 additions and 2 deletions
+1 -1
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