Explorar o código

fixes of ref equals in populate

Ivan Asmer %!s(int64=5) %!d(string=hai) anos
pai
achega
5d34f0c91c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -31,7 +31,7 @@ const mm = db => {
                 for (const key in obj){
                     if (Savable.isSavable(obj[key])){
                         obj[key] = (this._ref && 
-                                    Savable.equals(obj[key], this._ref) ? 
+                                    Savable.equals(obj[key], this._ref)) ? 
                                                        this._ref : 
                                                        Savable.newSavable(obj[key], this)
                     }