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

Commit ec7a337

Browse files
committed
Fix return type
1 parent 0acc585 commit ec7a337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/graph/types/species.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ module Types
5050
end
5151

5252
field :language, types.String, "The language commonly spoken by this species."
53-
field :homeworld, Planet, "A planet that this species originates from type." do
53+
field :homeworld, Graph::Types::Planet, "A planet that this species originates from type." do
5454
resolve -> (species, _, _) do
5555
Graph::AssociationLoader.for(::Species, :homeworld).load(species)
5656
end

0 commit comments

Comments
 (0)