From e34a6add0a2a0a24311f348a59f3c3de2d7d13a5 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Sun, 21 Jul 2019 14:22:34 +0200 Subject: [PATCH] allow affiliations without id in graphql --- app/graphql/types/organization_type.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/graphql/types/organization_type.rb b/app/graphql/types/organization_type.rb index 13c5b1a54..3c7b2740e 100644 --- a/app/graphql/types/organization_type.rb +++ b/app/graphql/types/organization_type.rb @@ -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"