新增:记录external_token

This commit is contained in:
2024-04-24 17:06:45 +08:00
parent a273c1cfcf
commit 589d2ae2e8
6 changed files with 13 additions and 6 deletions

View File

@@ -3,5 +3,6 @@ json.sync_repositories @group_sync_repository.each do |key|
json.type key[0][0]
json.external_repo_address key[0][1]
json.sync_granularity key[0][2]
json.external_token key[0][3]
json.sync_repository_ids @sync_repositories.where(type: key[0][0], external_repo_address: key[0][1], sync_granularity: key[0][2]).pluck(:id)
end