fixed bug
This commit is contained in:
@@ -16,7 +16,7 @@ const queriesToUpdateDifferences = (entity, ownEntries, otherEntries) =>
|
|||||||
)
|
)
|
||||||
if (remoteAddress) {
|
if (remoteAddress) {
|
||||||
const differences = diff(ownEntry, remoteAddress)
|
const differences = diff(ownEntry, remoteAddress)
|
||||||
if (Object.keys(diff).length) {
|
if (Object.keys(differences).length) {
|
||||||
return UPDATE(entity)
|
return UPDATE(entity)
|
||||||
.set(differences)
|
.set(differences)
|
||||||
.where(
|
.where(
|
||||||
|
|||||||
Reference in New Issue
Block a user