mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-15 07:52:14 +00:00
feat: update api name
This commit is contained in:
parent
0ad1655f7f
commit
9ca6b039a2
@ -55,7 +55,7 @@ class SdocFileHistory extends React.Component {
|
||||
}).then(res => {
|
||||
const currentVersionContent = res.data;
|
||||
if (isShowChanges) {
|
||||
seafileAPI.getNextFileRevision(historyRepoID, currentVersion.id, currentVersion.path).then(res => {
|
||||
seafileAPI.getLastFileRevision(historyRepoID, currentVersion.id, currentVersion.path).then(res => {
|
||||
return res.data ? seafileAPI.getFileContent(res.data) : { data: '' };
|
||||
}).then(res => {
|
||||
const lastVersionContent = res.data;
|
||||
|
Loading…
Reference in New Issue
Block a user