mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-02 20:25:47 +00:00
feat: fix getApps and create for cloudflare pages integration
This commit is contained in:
@@ -134,7 +134,7 @@ const getApps = async ({
|
||||
case INTEGRATION_CLOUDFLARE_PAGES:
|
||||
apps = await getAppsCloudflarePages({
|
||||
accessToken,
|
||||
accountId: ''
|
||||
accountId: accessId
|
||||
})
|
||||
break;
|
||||
}
|
||||
@@ -670,13 +670,12 @@ const getAppsCloudflarePages = async ({
|
||||
}
|
||||
);
|
||||
|
||||
const apps = data.map((a: any) => {
|
||||
const apps = data.result.map((a: any) => {
|
||||
return {
|
||||
name: a["project_name"],
|
||||
name: a.name,
|
||||
appId: a.id,
|
||||
};
|
||||
});
|
||||
|
||||
return apps;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user