mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
forgot to run prettier earlier
This commit is contained in:
parent
61323c7f85
commit
dc2a392f4c
@ -87,7 +87,7 @@ function CredentialAdd({ me }) {
|
||||
const credTypes = data.results;
|
||||
if (data.next && data.next.includes('page=2')) {
|
||||
let pageNo = 2;
|
||||
/* eslint-disable no-await-in-loop */
|
||||
/* eslint-disable no-await-in-loop */
|
||||
do {
|
||||
const {
|
||||
data: { results },
|
||||
@ -98,7 +98,7 @@ function CredentialAdd({ me }) {
|
||||
credTypes.push(...results);
|
||||
pageNo++;
|
||||
} while (data.count !== credTypes.length);
|
||||
} /* eslint-enable no-await-in-loop */
|
||||
} /* eslint-enable no-await-in-loop */
|
||||
|
||||
const creds = credTypes.reduce((credentialTypesMap, credentialType) => {
|
||||
credentialTypesMap[credentialType.id] = credentialType;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user