mirror of
https://github.com/sismics/docs.git
synced 2025-12-13 09:46:17 +00:00
Update database version after upgrade, fix 403 detection on sharing app
This commit is contained in:
@@ -9,7 +9,7 @@ App.controller('Share', function($scope, $state, $stateParams, Restangular) {
|
||||
.then(function (data) {
|
||||
$scope.document = data;
|
||||
}, function (response) {
|
||||
if (response.data.status == 403) {
|
||||
if (response.status == 403) {
|
||||
$state.transitionTo('403');
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user