This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new b2f98b50 Wrong id
b2f98b50 is described below
commit b2f98b50dfeaec5e6b8989b59e7428b6591511e8
Author: Sebb <[email protected]>
AuthorDate: Sun Apr 23 16:58:53 2023 +0100
Wrong id
---
www/roster/models/nonpmc.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/roster/models/nonpmc.rb b/www/roster/models/nonpmc.rb
index cd02a72d..c19fc678 100644
--- a/www/roster/models/nonpmc.rb
+++ b/www/roster/models/nonpmc.rb
@@ -84,7 +84,7 @@ class NonPMC
roster[person.id]['githubUsername'] = (person.attrs['githubUsername'] ||
[]).join(', ')
end
- roster.each {|_, info| info[:member] = ASF::Person.find(id).asf_member?}
+ roster.each {|k, v| v[:member] = ASF::Person.find(k).asf_member?}
if cttee.chair and roster[cttee.chair.id]
roster[cttee.chair.id]['role'] = 'Committee chair'