Skip to content

Commit

Permalink
return search results as an object instad of a hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilelkihal committed Oct 24, 2024
1 parent 0598e00 commit 62f1806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ontologies_api_client/models/class.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def self.search(*args)
merged_collections[:errors] << result.errors
end
end
merged_collections
OpenStruct.new(merged_collections)

end

Expand Down

0 comments on commit 62f1806

Please sign in to comment.