mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Improve data snapshot comparison https://github.com/siyuan-note/siyuan/issues/8081
This commit is contained in:
@@ -36,7 +36,7 @@ func openRepoSnapshotDoc(c *gin.Context) {
|
||||
}
|
||||
|
||||
id := arg["id"].(string)
|
||||
id, rootID, content, isLargeDoc, err := model.OpenRepoSnapshotDoc(id)
|
||||
id, rootID, content, isLargeDoc, updated, err := model.OpenRepoSnapshotDoc(id)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
@@ -48,6 +48,7 @@ func openRepoSnapshotDoc(c *gin.Context) {
|
||||
"rootID": rootID,
|
||||
"content": content,
|
||||
"isLargeDoc": isLargeDoc,
|
||||
"updated": updated,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user