Fix uncaught NoMethodError in POST `/api/v1/featured_tags` (#25063)

lolsob-rspec
Daniel M Brasil 2023-05-22 13:11:28 -03:00 committed by GitHub
parent c59cbf1a38
commit 5009e9aed5
1 changed files with 1 additions and 1 deletions

View File

@ -33,6 +33,6 @@ class Api::V1::FeaturedTagsController < Api::BaseController
end
def featured_tag_params
params.permit(:name)
params.require(:name)
end
end