~cytrogen/masto-fe

45d98959aca118f8f44ca66d7d358354e43c7d4c — Daniel M Brasil 2 years ago 2a61f14
Fix uncaught NoMethodError in POST `/api/v1/featured_tags` (#25063)

1 files changed, 1 insertions(+), 1 deletions(-)

M app/controllers/api/v1/featured_tags_controller.rb
M app/controllers/api/v1/featured_tags_controller.rb => app/controllers/api/v1/featured_tags_controller.rb +1 -1
@@ 33,6 33,6 @@ class Api::V1::FeaturedTagsController < Api::BaseController
  end

  def featured_tag_params
    params.permit(:name)
    params.require(:name)
  end
end