diff options
Diffstat (limited to 'apps/federatedfilesharing')
-rw-r--r-- | apps/federatedfilesharing/js/external.js | 2 | ||||
-rw-r--r-- | apps/federatedfilesharing/tests/js/externalSpec.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/federatedfilesharing/js/external.js b/apps/federatedfilesharing/js/external.js index 40bb935b5c5..577fed21bac 100644 --- a/apps/federatedfilesharing/js/external.js +++ b/apps/federatedfilesharing/js/external.js @@ -19,7 +19,7 @@ * @param {String} share.owner owner name * @param {String} share.name name of the shared folder * @param {String} share.token authentication token - * @param {bool} passwordProtected true if the share is password protected + * @param {boolean} passwordProtected true if the share is password protected * @param {Function} callback the callback */ OCA.Sharing.showAddExternalDialog = function(share, passwordProtected, callback) { diff --git a/apps/federatedfilesharing/tests/js/externalSpec.js b/apps/federatedfilesharing/tests/js/externalSpec.js index d6c68a2ff8e..5a44686c1b3 100644 --- a/apps/federatedfilesharing/tests/js/externalSpec.js +++ b/apps/federatedfilesharing/tests/js/externalSpec.js @@ -4,7 +4,7 @@ * @author Christoph Wurst <christoph@winzerhof-wurst.at> * @author Vincent Petry <vincent@nextcloud.com> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -146,7 +146,7 @@ describe('OCA.Sharing external tests', function() { plugin.processSharesToConfirm(); expect(fakeServer.requests.length).toEqual(1); - + var req = fakeServer.requests[0]; expect(req.method).toEqual('GET'); expect(req.url).toEqual(OC.getRootPath() + '/index.php/apps/files_sharing/api/externalShares'); |