From 6980d1b1555b0eeae80cf556cdfe8f07c0ad1a21 Mon Sep 17 00:00:00 2001 From: xing Date: Thu, 10 Nov 2022 20:03:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- actions/common/posts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/common/posts.go b/actions/common/posts.go index bd718f0..da54de1 100644 --- a/actions/common/posts.go +++ b/actions/common/posts.go @@ -190,7 +190,7 @@ func getPostContext(arg ...any) (r PostContext, err error) { } func GetMonthPostIds(ctx context.Context, year, month string, page, limit int, order string) (r []wp.Posts, total int, err error) { - res, err := monthPostsCache.GetCache(ctx, fmt.Sprintf("%s%s", year, month), time.Second, year, month) + res, err := monthPostsCache.GetCache(ctx, fmt.Sprintf("%s%s", year, month), time.Second, ctx, year, month) if err != nil { return }