mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +08:00
fix(ruby): correct version author when changes exist. Fix Bug 73505
This commit is contained in:
@ -294,7 +294,7 @@ class FileModel
|
||||
changes = JSON.parse(file.read) # and parse its content
|
||||
end
|
||||
|
||||
change = changes['changes'][0]
|
||||
change = changes['changes'].last
|
||||
|
||||
# write information about changes to the object
|
||||
obj['changes'] = change ? changes['changes'] : nil
|
||||
|
||||
Reference in New Issue
Block a user