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)