This commit is contained in:
Liang Ding
2023-04-22 18:56:38 +08:00
parent 0dcca1ec23
commit a2fae4dce1
2 changed files with 7 additions and 4 deletions

View File

@@ -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,
}
}