summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2021-07-15 12:46:14 +0000
committerMichaIng <micha@dietpi.com>2021-07-23 15:56:28 +0200
commit6e5191b7021b448a48d741233bd17ab3c222119f (patch)
tree26c353643f5d1dd764d512e1fd15e15168d54346 /apps/files_external/js
parent229bfcbab56e2de473d2d34bb7d86b5665d4ab35 (diff)
downloadnextcloud-server-6e5191b7021b448a48d741233bd17ab3c222119f.tar.gz
nextcloud-server-6e5191b7021b448a48d741233bd17ab3c222119f.zip
Bump @nextcloud/router from 1.2.0 to 2.0.0
Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.2.0 to 2.0.0. - [Release notes](https://github.com/nextcloud/nextcloud-router/releases) - [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-router/compare/v1.2.0...v2.0.0) Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Diffstat (limited to 'apps/files_external/js')
-rw-r--r--apps/files_external/js/mountsfilelist.js2
-rw-r--r--apps/files_external/js/statusmanager.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/js/mountsfilelist.js b/apps/files_external/js/mountsfilelist.js
index c5817a916f6..d3059309b95 100644
--- a/apps/files_external/js/mountsfilelist.js
+++ b/apps/files_external/js/mountsfilelist.js
@@ -92,7 +92,7 @@
this._setCurrentDir('/', false);
this._reloadCall = $.ajax({
- url: OC.linkToOCS('apps/files_external/api/v1') + 'mounts',
+ url: OC.linkToOCS('apps/files_external/api/v1/mounts'),
data: {
format: 'json'
},
diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js
index c3945991810..8985edd968a 100644
--- a/apps/files_external/js/statusmanager.js
+++ b/apps/files_external/js/statusmanager.js
@@ -141,7 +141,7 @@ OCA.Files_External.StatusManager = {
self.isGetMountPointListRunning = true;
$.ajax({
type: 'GET',
- url: OC.linkToOCS('apps/files_external/api/v1') + 'mounts?format=json',
+ url: OC.linkToOCS('apps/files_external/api/v1/mounts?format=json'),
success: function (response) {
self.mountPointList = [];
_.each(response.ocs.data, function (mount) {