Changes

Jump to navigation Jump to search
m
no edit summary
Line 259: Line 259:  
       } else {
 
       } else {
 
         // if it didn't exist, let's use the provided record to push to store
 
         // if it didn't exist, let's use the provided record to push to store
        inp_obj = record;
+
     
        store.put(inp_obj);
  −
        return inp_obj;
   
       }
 
       }
 
       var sanitycheck = index.get([inp_obj.name.user]);
 
       var sanitycheck = index.get([inp_obj.name.user]);
Line 268: Line 266:  
       }
 
       }
 
     }
 
     }
 +
 +
    inp_obj = record;
 +
    store.put(inp_obj);
 +
    return inp_obj;
    
     //|||||||||||||||||||||||||||||||||||||||||||||
 
     //|||||||||||||||||||||||||||||||||||||||||||||
530

edits

Navigation menu