diff --git a/app/models/github_repo.rb b/app/models/github_repo.rb index 41bf12b7b..5599ec865 100644 --- a/app/models/github_repo.rb +++ b/app/models/github_repo.rb @@ -31,8 +31,8 @@ class GithubRepo < ApplicationRecord user = repo.user next unless user - client = Github::OauthClient.for_user(user) begin + client = Github::OauthClient.for_user(user) fetched_repo = client.repository(repo.info_hash[:full_name]) repo.update!(