Skip to content

Commit

Permalink
[Azure DevOps] use memberId (#14729)
Browse files Browse the repository at this point in the history
* change from ownerid to memberid to list organizations

* bump versions
  • Loading branch information
andrewjschuang authored Nov 25, 2024
1 parent 9c60814 commit caa0e67
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/azure_devops/azure_devops.app.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { axios } from "@pipedream/platform";
const API_VERSION = "7.1-preview.1";
const API_VERSION = "5.0";

export default {
type: "app",
Expand Down Expand Up @@ -60,7 +60,7 @@ export default {
},
async listAccounts(args = {}) {
const { value } = await this._makeRequest({
url: `https://app.vssps.visualstudio.com/_apis/accounts?ownerId=${this._oauthUid()}`,
url: `https://app.vssps.visualstudio.com/_apis/accounts?memberId=${this._oauthUid()}`,
...args,
});
return value;
Expand Down
2 changes: 1 addition & 1 deletion components/azure_devops/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/azure_devops",
"version": "0.0.3",
"version": "0.0.4",
"description": "Pipedream Azure DevOps Components",
"main": "azure_devops.app.mjs",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion components/azure_devops/sources/new-event/new-event.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import azureDevops from "../../azure_devops.app.mjs";

export default {
name: "New Event (Instant)",
version: "0.0.1",
version: "0.0.2",
key: "azure_devops-new-event",
description: "Emit new event for the specified event type.",
type: "source",
Expand Down

0 comments on commit caa0e67

Please sign in to comment.