Explorar el Código

fixes of ref equals in populate

Ivan Asmer hace 5 años
padre
commit
5d34f0c91c
Se han modificado 1 ficheros con 1 adiciones y 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)
                     }