Skip to content

Commit

Permalink
Remove data param from DELETE (see #17)
Browse files Browse the repository at this point in the history
  • Loading branch information
iangreenleaf committed Dec 31, 2013
1 parent 069cbd7 commit 265d031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions githubot.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ class Github
post: (url, data, cb) ->
@request "POST", url, data, cb

delete: (url, data, cb) ->
@request "DELETE", url, data, cb
delete: (url, cb) ->
@request "DELETE", url, null, cb

put: (url, data, cb) ->
@request "PUT", url, data, cb
Expand Down

0 comments on commit 265d031

Please sign in to comment.