Skip to content

Commit

Permalink
provide entity fix
Browse files Browse the repository at this point in the history
  • Loading branch information
phuang26 authored and PiTrem committed Mar 20, 2023
1 parent 699943c commit 933c126
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/api/chemotion/public_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def send_notification(attachment, user, status, has_error = false)
namespace :omniauth_providers do
desc 'get omniauth providers'
get do
Devise.omniauth_configs.keys
{ omniauth_providers: Devise.omniauth_configs.keys }
end
end

Expand Down Expand Up @@ -209,7 +209,7 @@ def send_notification(attachment, user, status, has_error = false)
# desc "Return organization's name from email domain"
# get 'swot' do
# return unless params[:domain].present?
#
#
# Swot::school_name(params[:domain]).presence ||
# Affiliation.where(domain: params[:domain]).where.not(organization: nil).first&.organization
#end
Expand Down

0 comments on commit 933c126

Please sign in to comment.