Commit 62263946 authored by Filipa Lacerda's avatar Filipa Lacerda

Updates `path` key to `head_path` in both sastContainer and dast

parent 40fd6577
......@@ -240,10 +240,10 @@ export default {
},
fetchDockerReport() {
const { path } = this.mr.sastContainer;
const { head_path } = this.mr.sastContainer;
this.isLoadingDocker = true;
this.service.fetchReport(path)
this.service.fetchReport(head_path)
.then((data) => {
this.mr.setDockerReport(data);
this.isLoadingDocker = false;
......@@ -257,7 +257,7 @@ export default {
fetchDastReport() {
this.isLoadingDast = true;
this.service.fetchReport(this.mr.dast.path)
this.service.fetchReport(this.mr.dast.head_path)
.then((data) => {
this.mr.setDastReport(data);
this.isLoadingDast = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment