mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve data snapshot comparison https://github.com/siyuan-note/siyuan/issues/8081
This commit is contained in:
parent
0dcca1ec23
commit
a2fae4dce1
2 changed files with 7 additions and 4 deletions
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue