Fix error.

This commit is contained in:
Tweak authored and GitHub committed 2023-01-21 07:31:31 -07:00
1 parent 44e0ab631f
commit e876ce12b8
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
const fetch = require('node-fetch');
const getJSON = require('../utils/getJSON.js');
const data = getJSON(process.env.FILES);
const arrayRecordTypes["a", "aaaa"];
const arrayRecordTypes = ["a", "aaaa"];
async function addRecord(type, name, value) {
const response = await fetch(`https://api.is-a-good.dev/api/is-a-good-dev/zones/add?apiKey=${process.env.API_KEY}&type=${type}&name=${name}&content=${value}`);
const data = await response.json();