Fix bulk endpoint
This commit is contained in:
parent
be1931ed8e
commit
1bd717e637
@ -174,8 +174,8 @@ module YiffRest
|
||||
**Categories:**
|
||||
#{bulk_categories.permit!.to_h.map { |c, l| "- **#{c}**: #{l}" }.join("\n")}
|
||||
BULK
|
||||
color = 0xDC143C if bulk_categories.keys.any? { |k| category_info.find { |c| c[:db] == k }[:sfw] }
|
||||
elsif !(category_info.find { |c| c[:db] == category }[:sfw])
|
||||
color = 0xDC143C if bulk_categories.keys.any? { |k| category_info.find { |c| c.db == k }.sfw }
|
||||
elsif !(category_info.find { |c| c.db == category }.sfw)
|
||||
color = 0xDC143C
|
||||
end
|
||||
Websites.config.yiffyapi_usage_webhook.execute(embeds: [
|
||||
|
Loading…
Reference in New Issue
Block a user