From 8e0f06de90db0be637fae022fcee2f7a9ed12b91 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sun, 1 Jan 2023 13:56:44 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20localStorage=20=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=9C=A8=E5=A4=9A=E7=95=8C=E9=9D=A2=E5=AE=9E=E4=BE=8B=E9=97=B4?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=20https://github.com/siyuan-note/siyuan/issu?= =?UTF-8?q?es/6965?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/api/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/api/storage.go b/kernel/api/storage.go index 0066eed89..65f4f0e10 100644 --- a/kernel/api/storage.go +++ b/kernel/api/storage.go @@ -196,7 +196,7 @@ func setLocalStorage(c *gin.Context) { } app := arg["app"].(string) - evt := util.NewCmdResult("transactions", 0, util.PushModeBroadcastMainExcludeSelfApp, util.PushModeBroadcastMainExcludeSelfApp) + evt := util.NewCmdResult("setLocalStorage", 0, util.PushModeBroadcastMainExcludeSelfApp, util.PushModeBroadcastMainExcludeSelfApp) evt.AppId = app evt.Data = val util.PushEvent(evt)