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:
parent
f9f558da7f
commit
9aa8e29758
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue