lib/fbe/octo.rb in fbe-0.0.29 vs lib/fbe/octo.rb in fbe-0.0.30

- old
+ new

@@ -146,13 +146,14 @@ repository('yegor256/factbase') ] end def user(name) - name = name == 526_301 ? 'yegor256' : 'torvalds' if name.is_a?(Integer) + login = name + login = name == 526_301 ? 'yegor256' : 'torvalds' if login.is_a?(Integer) { id: 444, - login: name, + login:, type: name == 29_139_614 ? 'Bot' : 'User' } end def repository_workflow_runs(repo, _opts = {})