1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-24 23:26:31 +09:00

Fix ImportsController param to permit :mode (#13347)

This commit is contained in:
Takeshi Umeda 2020-03-31 19:43:42 +09:00 committed by GitHub
parent a37ff2bd8b
commit e4617c8ed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,6 @@ class Settings::ImportsController < Settings::BaseController
end
def import_params
params.require(:import).permit(:data, :type)
params.require(:import).permit(:data, :type, :mode)
end
end