Commit 87bcf5ca authored by Filipa Lacerda's avatar Filipa Lacerda

[ci skip] Fix method name in mediator

parent 507139b5
...@@ -64,8 +64,10 @@ export default class pipelinesMediator { ...@@ -64,8 +64,10 @@ export default class pipelinesMediator {
PipelineService.getSecurityReport(endpoint) PipelineService.getSecurityReport(endpoint)
.then(response => response.json()) .then(response => response.json())
.then((data) => { .then((data) => {
this.store.storeSastData(data, blobPath); this.store.storeSastReport(data, blobPath);
}) })
.catch(() => Flash(__('Something when wrong while fetching SAST.'))); .catch(() => {
Flash(__('Something when wrong while fetching SAST.'));
});
} }
} }
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