🐛 Fix import libraries missing team-id (#11505)

This commit is contained in:
Elena Torró 2026-09-04 13:49:37 +02:00 committed by GitHub
parent d82038a570
commit 00e0492bb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -366,10 +366,14 @@
(if clone? (if clone?
(let [profile (profile/get-profile pool profile-id) (let [profile (profile/get-profile pool profile-id)
project-id (:default-project-id profile) project-id (:default-project-id profile)
team (teams/get-team pool
:profile-id profile-id
:project-id project-id)
cfg (assoc cfg cfg (assoc cfg
::bfc/overwrite false ::bfc/overwrite false
::bfc/profile-id profile-id ::bfc/profile-id profile-id
::bfc/project-id project-id ::bfc/project-id project-id
::bfc/team-id (:id team)
::bfc/input path ::bfc/input path
::bfc/import-max-object-size (cf/get :binfile-import-max-object-size) ::bfc/import-max-object-size (cf/get :binfile-import-max-object-size)
::bfc/import-max-zip-entries (cf/get :binfile-import-max-zip-entries))] ::bfc/import-max-zip-entries (cf/get :binfile-import-max-zip-entries))]
@ -628,6 +632,7 @@
::bfc/profile-id profile-id ::bfc/profile-id profile-id
::bfc/project-id project-id ::bfc/project-id project-id
::bfc/input path ::bfc/input path
::bfc/team-id (:id team)
::bfc/features (cfeat/get-team-enabled-features cf/flags team) ::bfc/features (cfeat/get-team-enabled-features cf/flags team)
::bfc/import-max-object-size (cf/get :binfile-import-max-object-size) ::bfc/import-max-object-size (cf/get :binfile-import-max-object-size)
::bfc/import-max-zip-entries (cf/get :binfile-import-max-zip-entries))] ::bfc/import-max-zip-entries (cf/get :binfile-import-max-zip-entries))]

View File

@ -425,6 +425,7 @@
cfg (-> cfg cfg (-> cfg
(assoc ::bfc/project-id project-id) (assoc ::bfc/project-id project-id)
(assoc ::bfc/profile-id profile-id) (assoc ::bfc/profile-id profile-id)
(assoc ::bfc/team-id (:id team))
(assoc ::bfc/input template) (assoc ::bfc/input template)
(assoc ::bfc/features (cfeat/get-team-enabled-features cf/flags team)) (assoc ::bfc/features (cfeat/get-team-enabled-features cf/flags team))
(assoc ::bfc/import-max-object-size (cf/get :binfile-import-max-object-size)) (assoc ::bfc/import-max-object-size (cf/get :binfile-import-max-object-size))