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

main
Daniel M Brasil 2023-05-22 13:11:28 -03:00 committed by GitHub
parent 2a61f14753
commit 45d98959ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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