Permalink
Browse files

save change to db

  • Loading branch information...
1 parent cef9183 commit 12a7030a06bac1a61806980375985cb7f2882499 @dominictarr committed Jun 15, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 controllers/github.js
View
@@ -34,6 +34,9 @@ module.exports = function (db,Repo,config) { //I think dependency injection may
repo.on('change',function (event){
console.log('change',event, repo._id)
+ overwrite(db,repo,function (){
+ console.log("SAVED",event, repo._id)
+ })
})
repo.integrate(function (err,data){

0 comments on commit 12a7030

Please sign in to comment.