Include project level in validations query

parent 59996871
...@@ -40,8 +40,10 @@ export default { ...@@ -40,8 +40,10 @@ export default {
}, },
result({ result({
data: { data: {
project: {
validations: { nodes = [] }, validations: { nodes = [] },
}, },
},
}) { }) {
const store = this.$apollo.getClient(); const store = this.$apollo.getClient();
nodes.forEach(({ normalizedTargetUrl, status }) => { nodes.forEach(({ normalizedTargetUrl, status }) => {
......
export const dastSiteValidations = (nodes = []) => ({ export const dastSiteValidations = (nodes = []) => ({
data: { data: {
project: {
validations: { validations: {
nodes, nodes,
}, },
}, },
},
}); });
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