Skip to content

Instantly share code, notes, and snippets.

@jrgleason
Created March 2, 2014 23:18
Show Gist options
  • Save jrgleason/9315484 to your computer and use it in GitHub Desktop.
Save jrgleason/9315484 to your computer and use it in GitHub Desktop.
miao.put('ProcessedReports', req.filename, JSON.stringify(report))
.then(function (result) {
console.log("Added a report "+result);
return next();
})
.fail(function (err) {
console.log("There was an error:"+JSON.stringify(err));
return next();
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment