From bc2d609be66fa79b648e73d7515ca42649ad9e7c Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 7 Jun 2022 10:17:24 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E5=85=A8=E5=B1=80=E5=85=B3=E7=B3=BB?= =?UTF-8?q?=E5=9B=BE=E4=B8=8D=E6=98=BE=E7=A4=BA=20Fix=20https://github.com?= =?UTF-8?q?/siyuan-note/siyuan/issues/5114?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/api/graph.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/api/graph.go b/kernel/api/graph.go index 8b012f09c..f2c8ef386 100644 --- a/kernel/api/graph.go +++ b/kernel/api/graph.go @@ -61,9 +61,6 @@ func getGraph(c *gin.Context) { reqId := arg["reqId"] ret.Data = map[string]interface{}{"reqId": reqId} - if nil == arg["id"] { - return - } query := arg["k"].(string) graphConf, err := gulu.JSON.MarshalJSON(arg["conf"])