Skip to content

Commit 8356a07

Browse files
change from ownerid to memberid to list organizations
1 parent 9c60814 commit 8356a07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/azure_devops/azure_devops.app.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { axios } from "@pipedream/platform";
2-
const API_VERSION = "7.1-preview.1";
2+
const API_VERSION = "5.0";
33

44
export default {
55
type: "app",
@@ -60,7 +60,7 @@ export default {
6060
},
6161
async listAccounts(args = {}) {
6262
const { value } = await this._makeRequest({
63-
url: `https://app.vssps.visualstudio.com/_apis/accounts?ownerId=${this._oauthUid()}`,
63+
url: `https://app.vssps.visualstudio.com/_apis/accounts?memberId=${this._oauthUid()}`,
6464
...args,
6565
});
6666
return value;

0 commit comments

Comments
 (0)