From 320e7d67363e7ef7aa9de4423173f6232c008b8b Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Thu, 16 May 2019 12:35:43 +0200 Subject: [PATCH] fix prefix in graphql --- app/graphql/types/prefix_type.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/graphql/types/prefix_type.rb b/app/graphql/types/prefix_type.rb index e598122d5..bbe132679 100644 --- a/app/graphql/types/prefix_type.rb +++ b/app/graphql/types/prefix_type.rb @@ -15,7 +15,7 @@ class PrefixType < BaseObject # end def id - object.prefix.prefix + object.class.name == "Prefix" ? object.prefix : object.prefix.prefix end def providers(**args)