From 49c124a12efd9d72761437b28c2bdeeb447ecc21 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Tue, 24 Dec 2019 15:56:44 +0530 Subject: [PATCH] fix the build. --- app/controllers/export_csv_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/export_csv_controller.rb b/app/controllers/export_csv_controller.rb index 4b461fcc566..6ac04125512 100644 --- a/app/controllers/export_csv_controller.rb +++ b/app/controllers/export_csv_controller.rb @@ -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