Skip to content

Commit

Permalink
allow affiliations without id in graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jul 21, 2019
1 parent b4bf353 commit e34a6ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/graphql/types/organization_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class OrganizationType < BaseObject
description "Information about organizations"

field :id, ID, null: false, description: "ROR ID"
field :id, ID, null: true, description: "ROR ID"
field :name, String, null: false, description: "Organization name"
field :aliases, [String], null: true, description: "Aliases for organization name"
field :acronyms, [String], null: true, description: "Acronyms for organization name"
Expand Down

0 comments on commit e34a6ad

Please sign in to comment.