diff options
author | Alex Legler <alex@a3li.li> | 2016-01-13 15:30:45 +0100 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2016-01-13 15:30:45 +0100 |
commit | c33d3236827015ab91356fa39b000ba7be5b5c3a (patch) | |
tree | 34795db9cf80248298dec42df32f7b85c528f602 | |
parent | Make project member role optional (diff) | |
download | semantic-data-toolkit-c33d3236827015ab91356fa39b000ba7be5b5c3a.tar.gz semantic-data-toolkit-c33d3236827015ab91356fa39b000ba7be5b5c3a.tar.bz2 semantic-data-toolkit-c33d3236827015ab91356fa39b000ba7be5b5c3a.zip |
not a hash :(
-rwxr-xr-x | projects.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |