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