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

This commit is contained in:
Daniel M Brasil authored and GitHub committed 2023-05-22 18:11:28 +02:00
1 parent 2a61f14753
commit 45d98959ac
1 file changed
+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