This commit is contained in:
D065023
2019-12-16 21:04:04 +01:00
parent 3e725bcc26
commit f89acc00dd

View File

@@ -15,7 +15,7 @@ const queriesToUpdateDifferences = (entity, ownEntries, otherEntries) =>
) )
) )
if (remoteAddress) { if (remoteAddress) {
const diff = _diff(ownEntry, remoteAddress) const diff = diff(ownEntry, remoteAddress)
if (Object.keys(diff).length) { if (Object.keys(diff).length) {
return UPDATE(entity) return UPDATE(entity)
.set(diff) .set(diff)