fix yiffyapi webhook
This commit is contained in:
parent
f1d4604d1d
commit
13dfa5ce2b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user