Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
remove bucket entries on bucket deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordon Hall committed Mar 23, 2016
1 parent e4fde79 commit 7a4adbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/server/routes/buckets.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ function BucketsRouterFactory(config, storage, network) {
return next(new errors.InternalError(err.message));
}

BucketEntry.remove({ bucket: req.params.id }); // NB: Fire and forget
res.status(204).end();
});
});
Expand Down

0 comments on commit 7a4adbd

Please sign in to comment.