mirror of
https://github.com/Nezumi-2711/cloudflare-gateway-pihole-scripts.git
synced 2026-09-22 13:38:37 +00:00
Privacy improvements for CI
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ async function getZeroTrustLists() {
|
||||
console.log(`Got ${lists.length} lists, ${cgps_lists.length} of which are CGPS lists that will be deleted.`);
|
||||
|
||||
for (const list of cgps_lists) {
|
||||
console.log(`Deleting list ${list.name} with ID ${list.id}`);
|
||||
console.log(`Deleting list ` + process.env.CI ? "(redacted, running in CI)" : `${list.name} with ID ${list.id}`);
|
||||
const resp = await axios.request({
|
||||
method: 'DELETE',
|
||||
url: `https://api.cloudflare.com/client/v4/accounts/${ACCOUNT_ID}/gateway/lists/${list.id}`,
|
||||
|
||||
Reference in New Issue
Block a user