mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-08-18 06:26:28 +00:00
fixes missing field from record
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user