diff --git a/src/server/types/Pet.js b/src/server/types/Pet.js index 6117401..e588ee3 100644 --- a/src/server/types/Pet.js +++ b/src/server/types/Pet.js @@ -24,6 +24,7 @@ const typeDefs = gql` const resolvers = { Pet: { + id: ({ name }) => name, species: ({ customPetData }) => ({ id: String(customPetData.custom_pet.species_id), }),