Skip to content

Commit

Permalink
Merge pull request #25 from agduncan94/feature/unique-endpoint-names
Browse files Browse the repository at this point in the history
graphql has unique names
  • Loading branch information
agduncan94 authored Nov 1, 2019
2 parents 8b8f2d5 + d8bd977 commit 97accbe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gdc-viewer/js/Store/SeqFeature/CNVs.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function(
var bodyVal = JSON.stringify(thisB.createQuery(ref, start, end));

// Fetch CNVs and create features
fetch(thisB.graphQLUrl, {
fetch(thisB.graphQLUrl + '/CNVsTable', {
method: 'post',
headers: { 'X-Requested-With': null },
body: bodyVal
Expand Down
2 changes: 1 addition & 1 deletion gdc-viewer/js/View/GDCDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function (
var geneLoading = thisB.createLoadingIcon(thisB.geneFacetTab.containerNode);

// Update the accordions with results from the GDC
fetch(thisB.baseGraphQLUrl, {
fetch(thisB.baseGraphQLUrl + '/facets', {
method: 'post',
headers: { 'X-Requested-With': null },
body: JSON.stringify(bodyVal)
Expand Down
2 changes: 1 addition & 1 deletion gdc-viewer/js/View/GDCPrimarySitesDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function (
variables: {}
}

fetch(thisB.baseGraphQLUrl, {
fetch(thisB.baseGraphQLUrl + '/primarySites', {
method: 'post',
headers: { 'X-Requested-With': null },
body: JSON.stringify(bodyVal)
Expand Down
2 changes: 1 addition & 1 deletion gdc-viewer/js/View/GDCProjectDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function (
*/
getProjectInformation: function() {
var thisB = this;
var url = thisB.baseGraphQLUrl;
var url = thisB.baseGraphQLUrl + '/projects';

// Clear current results
dom.empty(thisB.resultsContainer);
Expand Down

0 comments on commit 97accbe

Please sign in to comment.