fix the build.

This commit is contained in:
Arpit Jalan 2019-12-24 15:56:44 +05:30
parent 2c0574010a
commit 49c124a12e
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ class ExportCsvController < ApplicationController
StaffActionLogger.new(current_user).log_entity_export(export_params[:entity])
render json: success_json
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
private