🎨 Add more file formats supporting snapshots comparing https://github.com/siyuan-note/siyuan/issues/8438

This commit is contained in:
Daniel 2023-06-03 17:02:03 +08:00
parent 922f9ee820
commit 7ebc8f0459
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 7 additions and 7 deletions

View file

@ -36,7 +36,7 @@ func openRepoSnapshotDoc(c *gin.Context) {
}
id := arg["id"].(string)
id, rootID, content, isLargeDoc, updated, err := model.OpenRepoSnapshotDoc(id)
content, isLargeDoc, updated, err := model.OpenRepoSnapshotDoc(id)
if nil != err {
ret.Code = -1
ret.Msg = err.Error()
@ -44,8 +44,6 @@ func openRepoSnapshotDoc(c *gin.Context) {
}
ret.Data = map[string]interface{}{
"id": id,
"rootID": rootID,
"content": content,
"isLargeDoc": isLargeDoc,
"updated": updated,