Skip to content

Commit

Permalink
fix rubocop error
Browse files Browse the repository at this point in the history
  • Loading branch information
GcioGregg committed Dec 24, 2024
1 parent 58860bf commit 6dcb79c
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@ def self.sco_emails(scos)
private

def get_institution(facility_code)
begin
GI::Client.new.get_institution_details_v0({ id: facility_code }).body[:data][:attributes]
rescue Common::Exceptions::RecordNotFound
StatsD.increment("#{stats_key}.skipped.institution_not_approved")
nil
end
GI::Client.new.get_institution_details_v0({ id: facility_code }).body[:data][:attributes]
rescue Common::Exceptions::RecordNotFound
StatsD.increment("#{stats_key}.skipped.institution_not_approved")
nil
end

def school_changed?
Expand Down

0 comments on commit 6dcb79c

Please sign in to comment.