Permalink
Browse files

back to basics take 2

  • Loading branch information...
dominictarr committed Jun 5, 2011
1 parent 9150e4c commit 629a848ede87befd8de7f333b5c333fd5f218d6f
Showing with 1 addition and 1 deletion.
  1. +1 −1 server.js
View
@@ -53,7 +53,7 @@ function save (repo){
db.get('' + repo._id, function (err,doc){
- var obj = {_rev: doc && doc._rev,time: new }
+ var obj = {}
for (var key in repo)
obj[key] = repo[key]
console.log(obj)

0 comments on commit 629a848

Please sign in to comment.