Skip to content
This repository was archived by the owner on Sep 24, 2019. It is now read-only.

Commit efd6553

Browse files
committed
Schema typo
1 parent 5a59768 commit efd6553

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/models/graph/schema.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Graph
22
Schema = GraphQL::Schema.define do
33
query Graph::Types::Query
44
resolve_type ->(obj, ctx) do
5-
MySchema.types.values.find { |type| type.name == obj.class.name }
5+
Graph::Schema.types.values.find { |type| type.name == obj.class.name }
66
end
77
end
88
end

0 commit comments

Comments
 (0)