From 13dfa5ce2b705460a4466981de8100d49c015cab Mon Sep 17 00:00:00 2001 From: Donovan Daniels Date: Sun, 12 Jan 2025 22:07:02 -0600 Subject: [PATCH] fix yiffyapi webhook --- app/models/api_image.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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