mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 02:52:44 +08:00
fix the build.
This commit is contained in:
parent
2c0574010a
commit
49c124a12e
|
@ -10,7 +10,7 @@ class ExportCsvController < ApplicationController
|
||||||
StaffActionLogger.new(current_user).log_entity_export(export_params[:entity])
|
StaffActionLogger.new(current_user).log_entity_export(export_params[:entity])
|
||||||
render json: success_json
|
render json: success_json
|
||||||
rescue Discourse::InvalidAccess
|
rescue Discourse::InvalidAccess
|
||||||
return render_json_error I18n.t("csv_export.rate_limit_error")
|
render_json_error I18n.t("csv_export.rate_limit_error")
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in New Issue
Block a user