mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
changeshistory -> history
This commit is contained in:
@ -324,10 +324,10 @@ app.post("/track", function (req, res) {
|
||||
fileSystem.writeFileSync(path_changes, diffZip.getBody());
|
||||
}
|
||||
|
||||
var changeshistory = body.changeshistory;
|
||||
var changeshistory = body.history || body.changeshistory;
|
||||
if (changeshistory) {
|
||||
var path_changes_json = docManager.changesPath(fileName, userAddress, version);
|
||||
fileSystem.writeFileSync(path_changes_json, body.changeshistory);
|
||||
fileSystem.writeFileSync(path_changes_json, changeshistory);
|
||||
}
|
||||
|
||||
var path_key = docManager.keyPath(fileName, userAddress, version);
|
||||
|
||||
Reference in New Issue
Block a user