We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dad0dce commit 193f94aCopy full SHA for 193f94a
1 file changed
samples/run.ts
@@ -31,7 +31,7 @@ async function createProject(projectId: string): Promise<boolean> {
31
32
const projectToCreate: coreInterfaces.TeamProject = {name: projectId,
33
description: 'sample project created automatically by azure-devops-node-api.',
34
- visibility: 1,
+ visibility: coreInterfaces.ProjectVisibility.Public,
35
capabilities: {versioncontrol: {sourceControlType: 'Git'},
36
processTemplate: {templateTypeId: '6b724908-ef14-45cf-84f8-768b5384da45'}},
37
_links: null,
0 commit comments