mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 All plain text formats are supported when comparing data snapshots https://github.com/siyuan-note/siyuan/issues/12975
This commit is contained in:
parent
641550e1ed
commit
6db7b847e9
5 changed files with 19 additions and 37 deletions
|
|
@ -70,7 +70,7 @@ func openRepoSnapshotDoc(c *gin.Context) {
|
|||
}
|
||||
|
||||
id := arg["id"].(string)
|
||||
title, content, isProtyleDoc, updated, err := model.OpenRepoSnapshotDoc(id)
|
||||
title, content, displayInText, updated, err := model.OpenRepoSnapshotDoc(id)
|
||||
if err != nil {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
|
|
@ -78,10 +78,10 @@ func openRepoSnapshotDoc(c *gin.Context) {
|
|||
}
|
||||
|
||||
ret.Data = map[string]interface{}{
|
||||
"title": title,
|
||||
"content": content,
|
||||
"isProtyleDoc": isProtyleDoc,
|
||||
"updated": updated,
|
||||
"title": title,
|
||||
"content": content,
|
||||
"displayInText": displayInText,
|
||||
"updated": updated,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue