Skip to content

Commit

Permalink
Merge pull request #42 from jlj5aj/undefined-repo-fix
Browse files Browse the repository at this point in the history
prevent crashes when initializing records from unconfigured repositories
  • Loading branch information
asmith-atlas authored Aug 1, 2023
2 parents 0fe3d29 + f624e94 commit 0fc4b8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/models/aeon_record_mapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def repo_code
end

def repo_settings
AppConfig[:aeon_fulfillment][self.repo_code]
AppConfig[:aeon_fulfillment][self.repo_code] || {}
end

def user_defined_fields
Expand Down

0 comments on commit 0fc4b8a

Please sign in to comment.