Merge pull request #21467 from owncloud/external-status-check-userglobal
Fix checking external storage status as non admin user
This commit is contained in:
commit
37265fd094
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ OCA.External.StatusManager = {
|
|||
} else {
|
||||
defObj = $.ajax({
|
||||
type : 'GET',
|
||||
url: OC.webroot + '/index.php/apps/files_external/' + ((mountData.type === 'personal') ? 'userstorages' : 'globalstorages') + '/' + mountData.id,
|
||||
url: OC.webroot + '/index.php/apps/files_external/' + ((mountData.type === 'personal') ? 'userstorages' : 'userglobalstorages') + '/' + mountData.id,
|
||||
success : function(response) {
|
||||
if (response && response.status === 0) {
|
||||
self.mountStatus[mountData.mount_point] = response;
|
||||
|
|
Loading…
Reference in a new issue