3 files changed
+7
-16
No files matched your search
@@ -524,11 +524,7 @@
|
||||
const graphqlClient = require('graphql-client')
|
||||
|
||||
const usersModuleAPI = graphqlClient({
|
||||
//url: 'http://localhost:4000/graphql'
|
||||
url: 'https://app-api.advancedalgos.net/graphql',
|
||||
//headers: {
|
||||
// Authorization: 'Bearer ' + authToken
|
||||
//}
|
||||
url: window.canvasApp.urlPrefix
|
||||
});
|
||||
|
||||
|
||||
@@ -1017,11 +1013,7 @@
|
||||
const graphqlClient = require('graphql-client')
|
||||
|
||||
const usersModuleAPI = graphqlClient({
|
||||
//url: 'http://localhost:4000/graphql'
|
||||
url: 'https://app-api.advancedalgos.net/graphql',
|
||||
//headers: {
|
||||
// Authorization: 'Bearer ' + authToken
|
||||
//}
|
||||
url: window.canvasApp.urlPrefix
|
||||
});
|
||||
|
||||
|
||||
|
||||
@@ -9,8 +9,9 @@
|
||||
const isValidOrder = require('./exchangeUtils').isValidOrder;
|
||||
const graphqlClient = require('graphql-client')
|
||||
|
||||
const MASTER_APP_API = 'https://app-api.advancedalgos.net/graphql';
|
||||
|
||||
//const MASTER_APP_API = 'https://app-api.advancedalgos.net/graphql';
|
||||
const MASTER_APP_API = 'http://localhost:4100/graphql';
|
||||
|
||||
let MODULE_NAME = "Exchange API";
|
||||
|
||||
let thisObject = {
|
||||
|
||||
+2
-4
@@ -21,8 +21,6 @@ function newLogin() {
|
||||
container.isDraggeable = false;
|
||||
container.isClickeable = true;
|
||||
|
||||
const MASTER_APP_API = 'https://app-api.advancedalgos.net/graphql';
|
||||
|
||||
let currentLabel;
|
||||
|
||||
let userAuthorization;
|
||||
@@ -52,7 +50,7 @@ function newLogin() {
|
||||
|
||||
const apolloClient = new Apollo.lib.ApolloClient({
|
||||
networkInterface: Apollo.lib.createNetworkInterface({
|
||||
uri: MASTER_APP_API,
|
||||
uri: window.canvasApp.urlPrefix,
|
||||
transportBatching: true,
|
||||
}),
|
||||
connectToDevTools: true,
|
||||
@@ -104,7 +102,7 @@ function newLogin() {
|
||||
}
|
||||
|
||||
const networkInterfaceTeams = Apollo.lib.createNetworkInterface({
|
||||
uri: MASTER_APP_API
|
||||
uri: window.canvasApp.urlPrefix
|
||||
});
|
||||
|
||||
networkInterfaceTeams.use([{
|
||||
|
||||
Reference in new issue
Block a user