From 41c9db00697cfca6d5a56ebfd08864d7cee6e69f Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sat, 17 Dec 2022 17:51:56 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=94=AF=E6=8C=81=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BF=AB=E7=85=A7=E5=AF=B9=E6=AF=94=20https://github.com/siyua?= =?UTF-8?q?n-note/siyuan/issues/6858?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/repository.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/model/repository.go b/kernel/model/repository.go index 15ab0524c..7c198da27 100644 --- a/kernel/model/repository.go +++ b/kernel/model/repository.go @@ -135,8 +135,8 @@ type LeftRightDiff struct { } type DiffFile struct { - FileID string - Title string + FileID string `json:"fileID"` + Title string `json:"title"` } func DiffRepoSnapshots(left, right string) (ret *LeftRightDiff, err error) {