Skip to content

Commit

Permalink
run rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
FinnIckler committed Aug 30, 2024
1 parent 4c94716 commit 5014664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api_errors_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ def show
exception = request.env["action_dispatch.exception"]
status_code = ActionDispatch::ExceptionWrapper.new(request.env, exception).status_code
request_id = request.env["action_dispatch.request_id"]
render json: { error_code: status_code, request_id: request_id, contact_url: Rails.application.routes.url_helpers.contact_url(contactRecipient: 'wst', requestId: request_id)}, status: status_code
render json: { error_code: status_code, request_id: request_id, contact_url: Rails.application.routes.url_helpers.contact_url(contactRecipient: 'wst', requestId: request_id) }, status: status_code
end
end

0 comments on commit 5014664

Please sign in to comment.