summaryrefslogtreecommitdiff
path: root/app/graphql/mutations/release_asset_links/update.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/mutations/release_asset_links/update.rb')
-rw-r--r--app/graphql/mutations/release_asset_links/update.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/graphql/mutations/release_asset_links/update.rb b/app/graphql/mutations/release_asset_links/update.rb
index 1d9460bde78..18d92cd82ae 100644
--- a/app/graphql/mutations/release_asset_links/update.rb
+++ b/app/graphql/mutations/release_asset_links/update.rb
@@ -13,26 +13,26 @@ module Mutations
required: true,
description: 'ID of the release asset link to update.'
- argument :name, GraphQL::STRING_TYPE,
+ argument :name, GraphQL::Types::String,
required: false,
description: 'Name of the asset link.'
- argument :url, GraphQL::STRING_TYPE,
+ argument :url, GraphQL::Types::String,
required: false,
description: 'URL of the asset link.'
- argument :direct_asset_path, GraphQL::STRING_TYPE,
+ argument :direct_asset_path, GraphQL::Types::String,
required: false, as: :filepath,
description: 'Relative path for a direct asset link.'
argument :link_type, Types::ReleaseAssetLinkTypeEnum,
required: false,
- description: 'The type of the asset link.'
+ description: 'Type of the asset link.'
field :link,
Types::ReleaseAssetLinkType,
null: true,
- description: 'The asset link after mutation.'
+ description: 'Asset link after mutation.'
def ready?(**args)
if args.key?(:link_type) && args[:link_type].nil?