Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
amitsaha committed Aug 22, 2022
1 parent 782ffc0 commit a518e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/migrations/main.go
Expand Up @@ -24,7 +24,7 @@ func fetchAllUserMigrations() ([]*github.UserMigration, error) {
tc := oauth2.NewClient(ctx, ts)
client := github.NewClient(tc)

migrations, _, err := client.Migrations.ListUserMigrations(ctx)
migrations, _, err := client.Migrations.ListUserMigrations(ctx, &github.ListOptions{Page: 1})
return migrations, err
}

Expand Down

0 comments on commit a518e88

Please sign in to comment.