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