diff options
author | Louis <6653109+artonge@users.noreply.github.com> | 2022-01-12 15:48:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 15:48:36 +0100 |
commit | 2e1491771e47eb02d297215eba6e6ce0019fc9c1 (patch) | |
tree | f327c9ae125cbddd86a1da588b3562d08b3bbe65 /apps/federatedfilesharing | |
parent | db9fbc93072049b8816a683ca015ba53976db03a (diff) | |
parent | bfdfafde79a17b1683467c800cf2a63ba14fb1a0 (diff) | |
download | nextcloud-server-2e1491771e47eb02d297215eba6e6ce0019fc9c1.tar.gz nextcloud-server-2e1491771e47eb02d297215eba6e6ce0019fc9c1.zip |
Merge pull request #30572 from nextcloud/fix/lint_warnings
Fix lint warnings
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'); |