diff --git a/backend/src/app/http/debug.clj b/backend/src/app/http/debug.clj index 1908cbd045..edcef0bb50 100644 --- a/backend/src/app/http/debug.clj +++ b/backend/src/app/http/debug.clj @@ -366,10 +366,14 @@ (if clone? (let [profile (profile/get-profile pool profile-id) project-id (:default-project-id profile) + team (teams/get-team pool + :profile-id profile-id + :project-id project-id) cfg (assoc cfg ::bfc/overwrite false ::bfc/profile-id profile-id ::bfc/project-id project-id + ::bfc/team-id (:id team) ::bfc/input path ::bfc/import-max-object-size (cf/get :binfile-import-max-object-size) ::bfc/import-max-zip-entries (cf/get :binfile-import-max-zip-entries))] @@ -628,6 +632,7 @@ ::bfc/profile-id profile-id ::bfc/project-id project-id ::bfc/input path + ::bfc/team-id (:id 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-zip-entries (cf/get :binfile-import-max-zip-entries))] diff --git a/backend/src/app/rpc/commands/management.clj b/backend/src/app/rpc/commands/management.clj index 7725320e12..ecb805d4a3 100644 --- a/backend/src/app/rpc/commands/management.clj +++ b/backend/src/app/rpc/commands/management.clj @@ -425,6 +425,7 @@ cfg (-> cfg (assoc ::bfc/project-id project-id) (assoc ::bfc/profile-id profile-id) + (assoc ::bfc/team-id (:id team)) (assoc ::bfc/input template) (assoc ::bfc/features (cfeat/get-team-enabled-features cf/flags team)) (assoc ::bfc/import-max-object-size (cf/get :binfile-import-max-object-size))