Skip to content
Snippets Groups Projects
Commit 37265fd0 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #21467 from owncloud/external-status-check-userglobal

Fix checking external storage status as non admin user
parents 5618e9a8 a696d6c5
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ OCA.External.StatusManager = { ...@@ -77,7 +77,7 @@ OCA.External.StatusManager = {
} else { } else {
defObj = $.ajax({ defObj = $.ajax({
type : 'GET', 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) { success : function(response) {
if (response && response.status === 0) { if (response && response.status === 0) {
self.mountStatus[mountData.mount_point] = response; self.mountStatus[mountData.mount_point] = response;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment