Skip to content
Snippets Groups Projects
Commit d1790693 authored by Mateus Rambo Strey's avatar Mateus Rambo Strey
Browse files

change empty check

parent cab56750
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,7 @@ module OrientDb
result = result.first
if !result.nil?
unless result.empty?
if result["@class"] == "Institution"
institution_repository.build_object(result)
......@@ -295,4 +295,4 @@ module OrientDb
end
end
end
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment