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