Skip to content

Commit 6f647c7

Browse files
author
Danny McCormick
authored
Fix samples (#304)
1 parent a303e9b commit 6f647c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

samples/workItemTracking.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ export async function run() {
6767
if (workItemTypes.length > 0) {
6868
const type: WorkItemTrackingInterfaces.WorkItemType = workItemTypes[0];
6969
common.heading('Info for type' + type.name);
70-
console.log(type.name, 'has', (await witApi.getWorkItemTypeFields(project.id, type.name)).length, 'fields');
70+
console.log(type.name, 'has', (await witApi.getWorkItemTypeColors([project.id])).length, 'colors');
7171
}
72-
}
72+
}

0 commit comments

Comments
 (0)