change bugs
This commit is contained in:
parent
553f8fb23a
commit
15f7383177
|
@ -30,11 +30,13 @@ class Repositories::CreateService < ApplicationService
|
|||
|
||||
def sync_project(repository, gitea_repository)
|
||||
Rails.logger.info("#############_________sync_project_____###########{gitea_repository}")
|
||||
|
||||
if gitea_repository
|
||||
project.update_columns(
|
||||
s = project.update_columns(
|
||||
gpid: gitea_repository["id"],
|
||||
identifier: repository.identifier,
|
||||
forked_count: gitea_repository["forks_count"])
|
||||
Rails.logger.info("#############_________sync_project__ss___###########{s}")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue