diff --git a/domains/teobouvard.json b/domains/teobouvard.json index 1b9060b9c..ac0bc8287 100644 --- a/domains/teobouvard.json +++ b/domains/teobouvard.json @@ -2,7 +2,8 @@ "description": "Personal github page", "repo": "https://github.com/teobouvard/teobouvard.github.io", "owner": { - "username": "teobouvard" + "username": "teobouvard", + "email": "" }, "record": { "CNAME": "teobouvard.github.io" diff --git a/utils/domain-service.js b/utils/domain-service.js index ea39701d9..28504f0fd 100644 --- a/utils/domain-service.js +++ b/utils/domain-service.js @@ -45,7 +45,7 @@ const recordToEmailMx = ({ name, address, priority }) => ({ }) const getHostKey = host => - `${host.name?.toLowerCase()}##${host.type.toLowerCase()}##${host.address?.toLowerCase()}`; + `${host.name.toLowerCase()}##${host.type.toLowerCase()}##${host.address.toLowerCase()}`; const diffRecords = (oldRecords, newRecords) => { const isMatchingRecord = (a, b) => getHostKey(a) === getHostKey(b);