From cf9e602734f767040a2081ea6994aadafbffa0db Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Mon, 13 May 2019 09:05:36 +0200 Subject: [PATCH] avoid type duplication. #257 --- app/graphql/types/event_data_edge_type.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/graphql/types/event_data_edge_type.rb b/app/graphql/types/event_data_edge_type.rb index 069017f70..a614f6e4c 100644 --- a/app/graphql/types/event_data_edge_type.rb +++ b/app/graphql/types/event_data_edge_type.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EventDataEdgeType < GraphQL::Types::Relay::BaseEdge - node_type(DoiItem) + node_type(PublicationType) field :source, String, null: false, description: "Source for this event" field :relation_type, String, null: false, description: "Relation type for this event"