From 95f6b1e7636095dd40d6e6c6cce6400630b75c9f Mon Sep 17 00:00:00 2001 From: "Dale R. Hille" Date: Fri, 14 Aug 2020 17:32:10 -0400 Subject: [PATCH 1/3] Update: use channelVersion instead of getChannelVersion --- imports/api/deployables/channels/methods.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/imports/api/deployables/channels/methods.js b/imports/api/deployables/channels/methods.js index f88fa800..79e5ac18 100644 --- a/imports/api/deployables/channels/methods.js +++ b/imports/api/deployables/channels/methods.js @@ -151,8 +151,8 @@ Meteor.methods({ const client = await getQueryClient(); return client.query({ query: gql` - query getChannelVersion($orgId: String!, $channelUuid: String!, $versionUuid: String!) { - getChannelVersion(orgId: $orgId, channelUuid: $channelUuid, versionUuid: $versionUuid) { + query channelVersion($orgId: String!, $channelUuid: String!, $versionUuid: String!) { + cannelVersion(orgId: $orgId, channelUuid: $channelUuid, versionUuid: $versionUuid) { type content } diff --git a/package.json b/package.json index 63ce6e5e..5f5aa229 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "razeedash", - "version": "2.0.0", + "version": "2.0.6", "private": true, "babel": { "env": { From 75cf847d8fef2e914f40a5014cbdd6c49b4e2274 Mon Sep 17 00:00:00 2001 From: "Dale R. Hille" Date: Fri, 14 Aug 2020 17:33:49 -0400 Subject: [PATCH 2/3] typeo --- imports/api/deployables/channels/methods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/api/deployables/channels/methods.js b/imports/api/deployables/channels/methods.js index 79e5ac18..babc7373 100644 --- a/imports/api/deployables/channels/methods.js +++ b/imports/api/deployables/channels/methods.js @@ -152,7 +152,7 @@ Meteor.methods({ return client.query({ query: gql` query channelVersion($orgId: String!, $channelUuid: String!, $versionUuid: String!) { - cannelVersion(orgId: $orgId, channelUuid: $channelUuid, versionUuid: $versionUuid) { + channelVersion(orgId: $orgId, channelUuid: $channelUuid, versionUuid: $versionUuid) { type content } From d0069089f75ccafb97fd29d568d0a38dafa82b80 Mon Sep 17 00:00:00 2001 From: "Dale R. Hille" Date: Fri, 14 Aug 2020 17:42:04 -0400 Subject: [PATCH 3/3] getChannelVersion.content to channelVersion.content --- imports/ui/pages/deployables/version/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/ui/pages/deployables/version/index.js b/imports/ui/pages/deployables/version/index.js index 0323c667..d90b141f 100644 --- a/imports/ui/pages/deployables/version/index.js +++ b/imports/ui/pages/deployables/version/index.js @@ -33,7 +33,7 @@ Template.channel_version.onCreated(function() { self.versionContent.set(err.error); } else { - self.versionContent.set(response.data.getChannelVersion.content); + self.versionContent.set(response.data.channelVersion.content); } }); });