Debug
This commit is contained in:
@@ -866,6 +866,7 @@ func GetFeeds(opts GetFeedsOptions) ([]*Action, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cond = cond.And(builder.In("repo_id", repoIDs))
|
cond = cond.And(builder.In("repo_id", repoIDs))
|
||||||
|
fmt.Println("repoIDs: ", repoIDs)
|
||||||
}
|
}
|
||||||
|
|
||||||
cond = cond.And(builder.Eq{"user_id": opts.RequestedUser.ID})
|
cond = cond.And(builder.Eq{"user_id": opts.RequestedUser.ID})
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ func retrieveFeeds(ctx *context.Context, options models.GetFeedsOptions) {
|
|||||||
}
|
}
|
||||||
ctx.Data["Feeds"] = actions
|
ctx.Data["Feeds"] = actions
|
||||||
|
|
||||||
fmt.Println("Repos: ", ctx.Data["Repos"])
|
fmt.Println("Feeds: ", ctx.Data["Feeds"])
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dashboard render the dashborad page
|
// Dashboard render the dashborad page
|
||||||
|
|||||||
Reference in New Issue
Block a user