From c8b2dd01ac15f851523500c3a59f17a4498c719c Mon Sep 17 00:00:00 2001 From: satori Date: Sat, 28 Dec 2024 06:36:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=B7=B7=E4=B9=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/collect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/collect.go b/api/collect.go index 14dcc5e..6eaff86 100644 --- a/api/collect.go +++ b/api/collect.go @@ -127,7 +127,7 @@ var CollectionItems = &graphql.Field{ for index, item := range collects { var data []Cover var t string = "article" - if item.Type == "1" { + if item.Type == "0" { t = "image" }