1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-24 15:16:19 +09:00

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