Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Dec 5, 2019
1 parent 31b5026 commit 336afdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/graphql/types/software_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ class SoftwareType < BaseObject
field :datasets, SoftwareDatasetConnectionWithMetaType, null: false, description: "Referenced datasets", connection: true, max_page_size: 1000 do
argument :first, Int, required: false, default_value: 25
end
field :publications, SoftwarePublicationConnectionWithMetaType, null: false, description: "Referenced publications", connection: true do
field :publications, SoftwarePublicationConnectionWithMetaType, null: false, description: "Referenced publications", connection: true, max_page_size: 1000 do
argument :query, String, required: false
argument :first, Int, required: false, default_value: 25
end
field :software_source_codes, SoftwareSoftwareConnectionWithMetaType, null: false, description: "Referenced software", connection: true, 0 do
field :software_source_codes, SoftwareSoftwareConnectionWithMetaType, null: false, description: "Referenced software", connection: true, max_page_size: 1000 do
argument :first, Int, required: false, default_value: 25
end

Expand Down

0 comments on commit 336afdc

Please sign in to comment.