fix yiffyapi webhook

This commit is contained in:
Donovan Daniels 2025-01-12 22:07:02 -06:00
parent f1d4604d1d
commit 13dfa5ce2b
No known key found for this signature in database
GPG Key ID: 743DAAE6359EDBA1

View File

@ -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