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

This commit is contained in:
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

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