Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
pass null options in unpublish
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jun 14, 2014
1 parent 123e401 commit e4a60e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/unpublish.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function unpublish (uri, ver, cb) {
// remove all if no version specified
if (!ver) {
this.log.info("unpublish", "No version specified, removing all")
return this.request("DELETE", uri+'/-rev/'+data._rev, cb)
return this.request("DELETE", uri+'/-rev/'+data._rev, null, cb)
}

var versions = data.versions || {}
Expand Down

0 comments on commit e4a60e8

Please sign in to comment.