bitbucket-v2
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -57,5 +57,3 @@ const _ = require('lodash'); | ||
api.post( | ||
// This may be the only API call in the entire Bitbucket specs that has a / at the end. | ||
// It probably doesn't matter, but the docs will be strictly followed just in case. | ||
`repositories/${encodeURI(username)}/${encodeURI(repoSlug)}/pullRequests/`, | ||
`repositories/${encodeURI(username)}/${encodeURI(repoSlug)}/pullrequests`, | ||
pullRequest, null, | ||
@@ -134,3 +132,3 @@ result.$createListener(callback) | ||
api.get( | ||
`repositories/${encodeURI(username)}/${encodeURI(repoSlug)}/pullRequests/`, | ||
`repositories/${encodeURI(username)}/${encodeURI(repoSlug)}/pullrequests`, | ||
apiParameters, null, | ||
@@ -137,0 +135,0 @@ result.$createListener(callback) |
{ | ||
"name": "bitbucket-v2", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "Wrapper for the BitBucket API v2, the version required to use OAuth2. Includes support for XHR requests.", | ||
@@ -5,0 +5,0 @@ "author": "Jordan Wallet <jjwallet@gmail.com>", |
25626
684