Skip to content

Commit b8169ec

Browse files
committed
update
1 parent fcfd950 commit b8169ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/main/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ func syncRepos(ctx context.Context, config *Config) error {
144144
}
145145

146146
for {
147-
repos, resp, err := client.Repositories.List(ctx, config.GithubUser, opt)
147+
repos, resp, err := client.Repositories.List(ctx, "", opt)
148148
if err != nil {
149149
return fmt.Errorf("failed to get repositories list: %v", err)
150150
}
@@ -206,6 +206,7 @@ func main() {
206206
errorChan <- err
207207
return
208208
}
209+
log.Println("Syncing repos finished")
209210
time.Sleep(interval)
210211
}
211212
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy