From c33d3236827015ab91356fa39b000ba7be5b5c3a Mon Sep 17 00:00:00 2001 From: Alex Legler Date: Wed, 13 Jan 2016 15:30:45 +0100 Subject: not a hash :( --- projects.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'projects.rb') diff --git a/projects.rb b/projects.rb index c922a5c..b76742a 100755 --- a/projects.rb +++ b/projects.rb @@ -80,7 +80,7 @@ projects_q.execute(graph) do |result| 'name' => member_result[:member_name].to_s } - member_hash['role'] = member_result[:member_roles].to_s if member_result.key? :member_roles + member_hash['role'] = member_result[:member_roles].to_s unless member_result[:member_roles].nil? project['members'] << member_hash end -- cgit v1.2.3-65-gdbad