From b6e7af2422c094c005e02e20519a22d0ad9e45d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Fri, 2 Mar 2018 14:09:17 +0000 Subject: [PATCH] fix(instances): always get id when fetching resources --- packages/my-joy-instances/src/graphql/create-instance.gql | 1 + packages/my-joy-instances/src/graphql/list-instances.gql | 2 ++ 2 files changed, 3 insertions(+) diff --git a/packages/my-joy-instances/src/graphql/create-instance.gql b/packages/my-joy-instances/src/graphql/create-instance.gql index 48b5465b..7ba4d579 100644 --- a/packages/my-joy-instances/src/graphql/create-instance.gql +++ b/packages/my-joy-instances/src/graphql/create-instance.gql @@ -34,6 +34,7 @@ mutation createInstance( name } package { + id name } } diff --git a/packages/my-joy-instances/src/graphql/list-instances.gql b/packages/my-joy-instances/src/graphql/list-instances.gql index 0d5a0e1b..1119801c 100644 --- a/packages/my-joy-instances/src/graphql/list-instances.gql +++ b/packages/my-joy-instances/src/graphql/list-instances.gql @@ -12,9 +12,11 @@ query instances { memory disk package { + id name } snapshots { + id name } }