diff --git a/app/models/api_image.rb b/app/models/api_image.rb index 8c8cca3..4e35164 100644 --- a/app/models/api_image.rb +++ b/app/models/api_image.rb @@ -320,7 +320,7 @@ class APIImage < ApplicationRecord def execute(...) return unless Rails.env.production? - Discordrb::Webhooks::Client.new(url: Websites.config.yiffyapi_image_logs_webhook_url).execute(...) + Websites.config.yiffyapi_image_logs_webhook.execute(...) end def send_created