Superalgos node v1

This commit is contained in:
Matias committed 2019-06-22 19:25:26 -03:00
1 parent 202265009d
commit 60f54bf994
10 files changed
+34 -47

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ exports.getStrategy = async function () {
}
const strategizerResponse = await axios({
url: process.env.STRATEGIZER_ENDPOINT || process.env.GATEWAY_ENDPOINT,
url: process.env.STRATEGIZER_ENDPOINT || process.env.GATEWAY_ENDPOINT_K8S,
method: 'post',
data: {
query: `
@@ -42,6 +42,6 @@ exports.getStrategy = async function () {
return global.STRATEGY
} catch (error) {
throw new Error('There has been an error getting the strategy: ' + error)
throw new Error('There has been an error getting the strategy: ', error)
}
}