diff --git a/routers/search.go b/routers/search.go index f4f747211..1aa2060fc 100644 --- a/routers/search.go +++ b/routers/search.go @@ -153,7 +153,7 @@ func searchRepo(ctx *context.Context, TableName string, Key string, Page int, Pa case "num_watches": orderBy = models.SearchOrderByWatches } - + log.Info("actor is null?:" + fmt.Sprint(ctx.User == nil)) repos, count, err := models.SearchRepository(&models.SearchRepoOptions{ ListOptions: models.ListOptions{ Page: Page,