mirror of
https://github.com/Nezumi-2711/cloudflare-gateway-pihole-scripts.git
synced 2026-09-22 13:38:37 +00:00
fixed helper log
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ const request = async (url, options) => {
|
|||||||
throw new Error(`HTTP error! Status: ${response.status}`);
|
throw new Error(`HTTP error! Status: ${response.status}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
const data = response.json();
|
const data = await response.json();
|
||||||
|
|
||||||
console.log(data.success);
|
console.log(data.success);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user