Skip to content

Commit caa0e67

Browse files
[Azure DevOps] use memberId (#14729)
* change from ownerid to memberid to list organizations * bump versions
1 parent 9c60814 commit caa0e67

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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;

components/azure_devops/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/azure_devops",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "Pipedream Azure DevOps Components",
55
"main": "azure_devops.app.mjs",
66
"keywords": [

components/azure_devops/sources/new-event/new-event.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import azureDevops from "../../azure_devops.app.mjs";
22

33
export default {
44
name: "New Event (Instant)",
5-
version: "0.0.1",
5+
version: "0.0.2",
66
key: "azure_devops-new-event",
77
description: "Emit new event for the specified event type.",
88
type: "source",

0 commit comments

Comments
 (0)