mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 15:19:02 +02:00
Correctly access response parameters.
This commit is contained in:
@@ -10,7 +10,8 @@ define [
|
||||
$scope.history.diff.doc
|
||||
)
|
||||
.then (response) ->
|
||||
$scope.history.diff.restoredDocNewId = response.doc_id
|
||||
{ data } = response
|
||||
$scope.history.diff.restoredDocNewId = data.doc_id
|
||||
$scope.history.diff.restoreInProgress = false
|
||||
$scope.history.diff.restoreDeletedSuccess = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user