We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ace0346 commit 22272feCopy full SHA for 22272fe
routers/api/v1/user/repo.go
@@ -52,7 +52,7 @@ func ListUserRepos(ctx *context.APIContext) {
52
if ctx.Written() {
53
return
54
}
55
- private := ctx.IsSigned && (ctx.User.ID == user.ID || ctx.User.IsAdmin)
+ private := ctx.IsSigned
56
listUserRepos(ctx, user, private)
57
58
0 commit comments