Skip to content

Commit

Permalink
Merge pull request #94 from chargio/fix
Browse files Browse the repository at this point in the history
more fixes
  • Loading branch information
chargio committed Feb 7, 2018
2 parents 2a2a9ba + 104f984 commit ee69d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/jobs/refresh_spin_candidates_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def perform(user:, token:)
client.github_access.access_token = app_token.github_token
user_spin_candidates_list = user_spin_candidates.map(&:id)
# Get the list of repos in GitHub (they use the same id in github and local) for the user
repos = client.repos(user: user, github_token: app_token.github_token)
repos = client.repos
repos_list = repos.map(&:id)
# List of deleted repos
deleted_repos = user_spin_candidates_list - repos_list
Expand Down

0 comments on commit ee69d5a

Please sign in to comment.