Skip to content

Commit 0e55ce9

Browse files
chore: Fix README get project list (#671)
Co-authored-by: Gazi Dizdaroğlu <[email protected]>
1 parent 27ef3eb commit 0e55ce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func example() {
3333
if err != nil {
3434
log.Fatalf("Error when instantiating new client: %v", err)
3535
}
36-
projects, response, err := sdk.ProjectsApi.ListProjects(ctx).Execute()
36+
projects, response, err := sdk.ProjectsApi.ListGroups(ctx).Execute()
3737
if err != nil {
3838
log.Fatalf("Could not fetch projects: %v", err)
3939
}

0 commit comments

Comments
 (0)