Skip to content

Instantly share code, notes, and snippets.

@wbashir
Created August 4, 2013 21:49
Show Gist options
  • Save wbashir/6152093 to your computer and use it in GitHub Desktop.
Save wbashir/6152093 to your computer and use it in GitHub Desktop.
Remove S3 document when user is deleted
collection.find().observe({
removed: function (oldDoc) {
// delete oldDoc._id from S3
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment