change bugs

This commit is contained in:
sylor_huang@126.com 2020-07-10 14:09:31 +08:00
parent 6d6294419d
commit 553f8fb23a
1 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,9 @@ class Repositories::CreateService < ApplicationService
end end
def sync_repository(repository, gitea_repository) def sync_repository(repository, gitea_repository)
Rails.logger.info("#############__________sync_repository______###########{@repository.try(:id)}") Rails.logger.info("#############__________sync_repository______###########{repository.try(:id)}")
Rails.logger.info("#############__________sync_repository___remote_repository_url___###########{remote_repository_url}")
repository.update_columns(url: remote_repository_url,) if gitea_repository repository.update_columns(url: remote_repository_url,) if gitea_repository
end end