@stubbedev/atlassian-mcp 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bitbucket.js +3 -1
- package/package.json +1 -1
package/dist/bitbucket.js
CHANGED
|
@@ -267,8 +267,10 @@ export class BitbucketClient {
|
|
|
267
267
|
const { projectKey, repoSlug } = this.resolveProjectAndRepo(args.projectKey, args.repoSlug);
|
|
268
268
|
const { state = 'OPEN', fromBranch, text: searchText, limit = 25, start = 0 } = args;
|
|
269
269
|
const qs = new URLSearchParams({ state, limit: String(limit), start: String(start) });
|
|
270
|
-
if (fromBranch)
|
|
270
|
+
if (fromBranch) {
|
|
271
271
|
qs.set('at', toBranchRef(fromBranch));
|
|
272
|
+
qs.set('direction', 'OUTGOING');
|
|
273
|
+
}
|
|
272
274
|
if (searchText)
|
|
273
275
|
qs.set('filterText', searchText);
|
|
274
276
|
const path = `/projects/${projectKey}/repos/${repoSlug}/pull-requests?${qs}`;
|