Skip to content

Commit

Permalink
Merge pull request #216 from ontoportal-lirmm/pr/fix/serillize-never
Browse files Browse the repository at this point in the history
Fix: Use Serillize never to not output sensitive data
  • Loading branch information
alexskr authored Oct 2, 2024
2 parents 8572cd2 + 0926cd4 commit 812dd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ontologies_linked_data/models/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def self.goo_attrs_to_load(attributes = [], level = 0)
if attributes.first == :all
(self.attributes + self.hypermedia_settings[:serialize_default]).uniq
else
attributes
attributes - self.hypermedia_settings[:serialize_never]
end
elsif self.hypermedia_settings[:serialize_default].empty?
self.attributes
Expand Down

0 comments on commit 812dd78

Please sign in to comment.