diff options
Diffstat (limited to 'app/services/releases/create_service.rb')
-rw-r--r-- | app/services/releases/create_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/releases/create_service.rb b/app/services/releases/create_service.rb index 106fed3811d..c6e143d440d 100644 --- a/app/services/releases/create_service.rb +++ b/app/services/releases/create_service.rb @@ -44,7 +44,7 @@ module Releases author: current_user, tag: tag.name, sha: tag.dereferenced_target.sha, - links_attributes: params[:links_attributes] || [] + links_attributes: params.dig(:assets, 'links') || [] ) success(tag: tag, release: release) |