Skip to content

Commit

Permalink
Merge pull request #373 from razee-io/deprecated_api
Browse files Browse the repository at this point in the history
Update: use channelVersion instead of getChannelVersion
  • Loading branch information
dalehille authored Aug 14, 2020
2 parents 21383b8 + d006908 commit 01a68b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions imports/api/deployables/channels/methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -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!) {
channelVersion(orgId: $orgId, channelUuid: $channelUuid, versionUuid: $versionUuid) {
type
content
}
Expand Down
2 changes: 1 addition & 1 deletion imports/ui/pages/deployables/version/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "razeedash",
"version": "2.0.0",
"version": "2.0.6",
"private": true,
"babel": {
"env": {
Expand Down

0 comments on commit 01a68b9

Please sign in to comment.