From 00cc0dfebccb1d0f8a73639019d73cb839ef140e Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Tue, 26 Nov 2019 16:28:34 +0000 Subject: [PATCH] Upgraded to API v2 --- src/components/genericComponents/taskSubmitter.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/genericComponents/taskSubmitter.vue b/src/components/genericComponents/taskSubmitter.vue index 4a26a46f..75b04730 100644 --- a/src/components/genericComponents/taskSubmitter.vue +++ b/src/components/genericComponents/taskSubmitter.vue @@ -171,7 +171,7 @@ export default { var checkCondition = (resolve, reject) => { // If the condition is met, we're done! axios - .get(`${this.$store.getters.uri}/task/${taskId}`) + .get(`${this.$store.getters.uriV2}/tasks/${taskId}`) .then(response => { console.log(response.data.status); var result = response.data.status; @@ -215,7 +215,7 @@ export default { console.log("Starting progress polling"); axios - .get(`${this.$store.getters.uri}/task/${this.taskId}`) + .get(`${this.$store.getters.uriV2}/tasks/${this.taskId}`) .then(response => { console.log("PROGRESS RESPONSE: ", response.data.progress); this.progress = response.data.progress; @@ -224,7 +224,7 @@ export default { terminateTask: function() { axios - .delete(`${this.$store.getters.uri}/task/${this.taskId}`) + .delete(`${this.$store.getters.uriV2}/tasks/${this.taskId}`) .then(response => { console.log("TERMINATION RESPONSE: ", response.data); });