From 2671be472af1df2cb6162c336d82a716bb5303d9 Mon Sep 17 00:00:00 2001 From: Donovan Daniels Date: Sun, 22 Sep 2024 20:58:19 -0500 Subject: [PATCH] Fix chris category in yiffy2 --- app/controllers/yiff_rest/api_v2_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/yiff_rest/api_v2_controller.rb b/app/controllers/yiff_rest/api_v2_controller.rb index 99401d8..45b6cef 100644 --- a/app/controllers/yiff_rest/api_v2_controller.rb +++ b/app/controllers/yiff_rest/api_v2_controller.rb @@ -151,7 +151,7 @@ module YiffRest end def category_info - [*APIImage.categories, { name: "Gay Polar Cutie", db: "chris", sfw: true }] # gay little polar cutie + [*APIImage.categories, APICategory.new("Gay Polar Cutie", "chris", true)] # gay little polar cutie end def notes_for_request