mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 10:57:35 -02:30
Prettier
This commit is contained in:
@@ -30,11 +30,7 @@ const fetchWorkflowNodes = async (jobId, pageNo = 1, nodes = []) => {
|
|||||||
page: pageNo,
|
page: pageNo,
|
||||||
});
|
});
|
||||||
if (data.next) {
|
if (data.next) {
|
||||||
return fetchWorkflowNodes(
|
return fetchWorkflowNodes(jobId, pageNo + 1, nodes.concat(data.results));
|
||||||
jobId,
|
|
||||||
pageNo + 1,
|
|
||||||
nodes.concat(data.results)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
return nodes.concat(data.results);
|
return nodes.concat(data.results);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user