mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 All plain text formats are supported when comparing data snapshots https://github.com/siyuan-note/siyuan/issues/12975
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user