fixed bug

This commit is contained in:
D065023
2019-12-16 21:14:56 +01:00
parent 125edc34e2
commit 06a6ac2201

View File

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