1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Use params_slice in api/v1/statuses/reblogs controller

This commit is contained in:
Matt Jankowski 2024-06-14 13:16:05 -04:00
parent f9f558da7f
commit 9aa8e29758

View file

@ -50,6 +50,6 @@ class Api::V1::Statuses::ReblogsController < Api::V1::Statuses::BaseController
end
def reblog_params
params.permit(:visibility)
params_slice(:visibility)
end
end