Skip to content

Commit e6a7875

Browse files
committed
only get links
1 parent 2af3c69 commit e6a7875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-low-priority.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ jobs:
3535
const queryResult = await adoClient.queryById(process.env.query_id);
3636
3737
for (const workItem of queryResult.workItems) {
38-
const workItemDetails = await adoClient.getWorkItem(id=workItem.id, expand='links');
38+
const workItemDetails = await adoClient.getWorkItem(workItem.id, null, null, azdev.WorkItemExpand.Links);
3939
console.log(workItemDetails);
4040
}

0 commit comments

Comments
 (0)