Skip to content

Commit

Permalink
fix prefix in graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed May 16, 2019
1 parent 79e7e86 commit 320e7d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/graphql/types/prefix_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 320e7d6

Please sign in to comment.