Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Maikel <maikel@email.org.au>
  • Loading branch information
dacook and mkllnk authored Jan 22, 2025
1 parent 00b78f4 commit ff3af2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/controllers/admin/dfc_product_imports_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def index
rescue Rack::OAuth2::Client::Error => e
flash[:error] = I18n.t(
'admin.dfc_product_imports.index.oauth_error_html',
message: ActionController::Base.helpers.sanitize(e.message),
oidc_settings_link: ActionController::Base.helpers.link_to(
message: helpers.sanitize(e.message),
oidc_settings_link: helpers.link_to(
I18n.t('spree.admin.tab.oidc_settings'), Rails.application.routes.url_helpers.admin_oidc_settings_path

Check warning on line 43 in app/controllers/admin/dfc_product_imports_controller.rb

View workflow job for this annotation

GitHub Actions / runner / rubocop

[rubocop] reported by reviewdog 🐶 Line is too long. [112/100] Raw Output: app/controllers/admin/dfc_product_imports_controller.rb:43:101: C: Layout/LineLength: Line is too long. [112/100]
)
).html_safe
Expand Down
2 changes: 1 addition & 1 deletion engines/dfc_provider/app/services/dfc_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@ def refresh_access_token!
token: nil,
refresh_token: nil
)
throw e
raise
end
end

0 comments on commit ff3af2f

Please sign in to comment.