Skip to content

Commit 190f811

Browse files
authored
Merge pull request #299 from avinxshKD/fix/clear-url-malformed
fix: remove line break in clear() URL template
2 parents 1551cdf + 4908280 commit 190f811

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/graph-builder/graph-core/6-server.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,7 @@ class GraphServer extends GraphLoadSave {
147147
autoClose: false,
148148
});
149149
this.dispatcher({ type: T.SET_LOGS, payload: false });
150-
Axios.post(`${EXECUTION_ENGINE_URL}/clear/${this.superState.graphs[this.superState.curGraphIndex].fileName.split('.')[0]}
151-
?unlock=${this.superState.unlockCheck}&maxtime=${this.superState.maxTime}&params=${this.superState.params}`)
150+
Axios.post(`${EXECUTION_ENGINE_URL}/clear/${this.superState.graphs[this.superState.curGraphIndex].fileName.split('.')[0]}?unlock=${this.superState.unlockCheck}&maxtime=${this.superState.maxTime}&params=${this.superState.params}`)
152151
.then((res) => { // eslint-disable-next-line
153152
toast.success(res.data['message']);
154153
this.dispatcher({

0 commit comments

Comments
 (0)