|
|
@@ -74,7 +74,7 @@
|
|
|
}).then(res => {
|
|
|
if (res.status === 201) {
|
|
|
this.startTime = new Date().getTime();
|
|
|
- return axios.get(`${res.headers['location']}api/json`, null, {
|
|
|
+ return axios.get(`${res.headers['location']}api/json`, {
|
|
|
auth: this.auth
|
|
|
})
|
|
|
} else {
|
|
|
@@ -90,7 +90,7 @@
|
|
|
});
|
|
|
},
|
|
|
pollingStatus() {
|
|
|
- axios.get(`${this.url}api/json`, null, {
|
|
|
+ axios.get(`${this.url}api/json`, {
|
|
|
auth: this.auth
|
|
|
}).then(res => {
|
|
|
if (res.status === 200) {
|
|
|
@@ -132,7 +132,7 @@
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
- axios.get(`${this.url}/logText/progressiveText?start=0`, null, {
|
|
|
+ axios.get(`${this.url}/logText/progressiveText?start=0`, {
|
|
|
auth: this.auth
|
|
|
}).then(res => {
|
|
|
if (res.status === 200) {
|