Commit 15775265 authored by Jannik Lehmann's avatar Jannik Lehmann

Refactor security_report state

This commit solves: https://gitlab.com/gitlab-org/gitlab/-/issues/207974
It refactors the security_report state by
removing head and base keys from the paths object which
are no longer needed or used.
parent 81ba6674
export default () => ({ export default () => ({
paths: { paths: {
head: null,
base: null,
diffEndpoint: null, diffEndpoint: null,
}, },
......
...@@ -34,8 +34,6 @@ export default () => ({ ...@@ -34,8 +34,6 @@ export default () => ({
[MODULE_CONTAINER_SCANNING]: { [MODULE_CONTAINER_SCANNING]: {
paths: { paths: {
head: null,
base: null,
diffEndpoint: null, diffEndpoint: null,
}, },
...@@ -49,8 +47,6 @@ export default () => ({ ...@@ -49,8 +47,6 @@ export default () => ({
}, },
[MODULE_DAST]: { [MODULE_DAST]: {
paths: { paths: {
head: null,
base: null,
diffEndpoint: null, diffEndpoint: null,
}, },
...@@ -65,8 +61,6 @@ export default () => ({ ...@@ -65,8 +61,6 @@ export default () => ({
}, },
[MODULE_COVERAGE_FUZZING]: { [MODULE_COVERAGE_FUZZING]: {
paths: { paths: {
head: null,
base: null,
diffEndpoint: null, diffEndpoint: null,
}, },
...@@ -81,8 +75,6 @@ export default () => ({ ...@@ -81,8 +75,6 @@ export default () => ({
}, },
[MODULE_DEPENDENCY_SCANNING]: { [MODULE_DEPENDENCY_SCANNING]: {
paths: { paths: {
head: null,
base: null,
diffEndpoint: null, diffEndpoint: null,
}, },
......
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