Skip to content

Commit

Permalink
Corrected for removal of intermediate User object
Browse files Browse the repository at this point in the history
  • Loading branch information
johntopleyons committed Apr 3, 2023
1 parent 54e2409 commit e792b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/lib/github.rb
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def all_members
user.updated_at = member.updated_at

organisations = []
member.user.organizations.nodes.each { |node| organisations << node.resource_path[1..].downcase }
member.organizations.nodes.each { |node| organisations << node.resource_path[1..].downcase }
user.organisations = organisations

all_members << user
Expand Down

0 comments on commit e792b7d

Please sign in to comment.