Debug
parent
b254f31a7e
commit
ba060a5e27
|
|
@ -87,6 +87,8 @@ func retrieveFeeds(ctx *context.Context, options models.GetFeedsOptions) {
|
|||
act.Repo.Owner = repoOwner
|
||||
}
|
||||
ctx.Data["Feeds"] = actions
|
||||
|
||||
fmt.Println("Repos: ", ctx.Data["Repos"])
|
||||
}
|
||||
|
||||
// Dashboard render the dashborad page
|
||||
|
|
@ -395,10 +397,6 @@ func showOrgProfile(ctx *context.Context) {
|
|||
err error
|
||||
)
|
||||
|
||||
fmt.Println("[DEBUG/user/home.go] ctx.IsSigned, ctx.User.IsAdmin: ", ctx.IsSigned, ", ", ctx.User.IsAdmin, " = ", ctx.IsSigned && ctx.User.IsAdmin)
|
||||
|
||||
fmt.Println("[DEBUG/user/home.go] ctx.User.Name: ", ctx.User.Name)
|
||||
|
||||
if ctx.IsSigned && !ctx.User.IsAdmin {
|
||||
env, err := org.AccessibleReposEnv(ctx.User.ID)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue