From 220ccd18200a0ba851ee157345c60bbc711d2711 Mon Sep 17 00:00:00 2001 From: JP <80802641+SlimJim716@users.noreply.github.com> Date: Mon, 19 Jul 2021 14:52:27 -0400 Subject: [PATCH] Fix Merge Issue --- cloudflare-template.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudflare-template.sh b/cloudflare-template.sh index 7b3efb4..ca0f79b 100644 --- a/cloudflare-template.sh +++ b/cloudflare-template.sh @@ -42,7 +42,7 @@ fi ########################################### echo "$(ds) Check Initiated" >> ~/log -record=$(curl -s -X GET "https://api.cloudflare.com/client/v4/zones/$zone_identifier/dns_records?name=$record_name" -H "X-Auth-Email: $auth_email" -H "X-Auth-Key: $auth_key" -H "Content-Type: application/json") +record=$(curl -s -X GET "https://api.cloudflare.com/client/v4/zones/$zone_identifier/dns_records?name=$record_name" -H "X-Auth-Email: $auth_email" -H "$auth_header $auth_key" -H "Content-Type: application/json") ########################################### ## Check if the domain has an A record