mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Add more file formats supporting snapshots comparing https://github.com/siyuan-note/siyuan/issues/8438
This commit is contained in:
parent
7ebc8f0459
commit
e50a9b4e11
3 changed files with 13 additions and 13 deletions
|
|
@ -36,7 +36,7 @@ func openRepoSnapshotDoc(c *gin.Context) {
|
|||
}
|
||||
|
||||
id := arg["id"].(string)
|
||||
content, isLargeDoc, updated, err := model.OpenRepoSnapshotDoc(id)
|
||||
content, isProtyleDoc, updated, err := model.OpenRepoSnapshotDoc(id)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
|
|
@ -44,9 +44,9 @@ func openRepoSnapshotDoc(c *gin.Context) {
|
|||
}
|
||||
|
||||
ret.Data = map[string]interface{}{
|
||||
"content": content,
|
||||
"isLargeDoc": isLargeDoc,
|
||||
"updated": updated,
|
||||
"content": content,
|
||||
"isProtyleDoc": isProtyleDoc,
|
||||
"updated": updated,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue