mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 22:18:01 -03:30
Prettier
This commit is contained in:
parent
1d84d03566
commit
5a9248e619
@ -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);
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user