Fix resolution request for Osmose issues

- Remove leftover code that caused undefied variable error
- Change to a GET request
This commit is contained in:
SilentSpike
2019-12-07 19:47:14 +00:00
parent 947f9657db
commit 1fa888069d
+1 -3
View File
@@ -178,15 +178,13 @@ export default {
var that = this;
if (err) { return callback(err, d); }
// UI sets the status to either '/done' or '/false'
var url = _osmoseUrlRoot + 'issue/' + d.identifier + d.newStatus;
var controller = new AbortController();
_erCache.inflightPost[d.id] = controller;
fetch(url, { method: 'POST', signal: controller.signal })
fetch(url, { signal: controller.signal })
.then(function() {
delete _erCache.inflightPost[d.id];