diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-01 00:07:14 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-01 00:07:14 +0300 |
commit | 24fb09b2eb3f4703b09eef3c9bbf842cd055626a (patch) | |
tree | 3c1f69360a0ce9b15c97fb25efa4424d4ef5f334 /app/services/packages | |
parent | 1d21e1712158ee4e3cf8b71b45ead662529fc3f8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/packages')
-rw-r--r-- | app/services/packages/ml_model/create_package_file_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/packages/ml_model/create_package_file_service.rb b/app/services/packages/ml_model/create_package_file_service.rb index b1e8e814015..ff569a8eecf 100644 --- a/app/services/packages/ml_model/create_package_file_service.rb +++ b/app/services/packages/ml_model/create_package_file_service.rb @@ -37,7 +37,8 @@ module Packages model_version_params = { model_name: package.name, version: package.version, - package: package + package: package, + user: current_user } Ml::FindOrCreateModelVersionService.new(project, model_version_params).execute |