Skip to content

Commit

Permalink
remove syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Oct 1, 2024
1 parent d455d9f commit 0926cd4
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 - self.hypermedia_settings[:serialize_never])
attributes - self.hypermedia_settings[:serialize_never]

Check warning on line 49 in lib/ontologies_linked_data/models/base.rb

View check run for this annotation

Codecov / codecov/patch

lib/ontologies_linked_data/models/base.rb#L49

Added line #L49 was not covered by tests
end
elsif self.hypermedia_settings[:serialize_default].empty?
self.attributes
Expand Down

0 comments on commit 0926cd4

Please sign in to comment.