From 7b10929d91e684099290fbc5806fef0d2c073846 Mon Sep 17 00:00:00 2001 From: zouap Date: Mon, 7 Mar 2022 17:53:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,