Skip to content

Commit

Permalink
Fix NameError: undefined subject
Browse files Browse the repository at this point in the history
  • Loading branch information
jvendetti committed Apr 17, 2024
1 parent a466d53 commit 604e5cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/ontologies_linked_data/utils/notifications.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,10 @@ def self.reset_password(user, token)
end

def self.obofoundry_sync(missing_onts, obsolete_onts)
body = ''
ui_name = LinkedData.settings.ui_name
subject = "[#{ui_name}] OBO Foundry synchronization report"
body = ''

if missing_onts.size > 0
body << "<strong>The following OBO Library ontologies are missing from #{ui_name}:</strong><br/><br/>"
missing_onts.each do |ont|
Expand Down

0 comments on commit 604e5cb

Please sign in to comment.