diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-31 10:31:39 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-31 10:35:55 +0300 |
commit | a384b4a97a2a4444d8e2c831765dbf35c8da0db2 (patch) | |
tree | 2bd6a62f0707c85fa9bb9322e1aea90a3b0f4305 /apps/files_sharing/src/services | |
parent | 0f8aca9d87db9022fe942a3d3fbb11433e152676 (diff) |
Bump @nextcloud/eslint-config and peers
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/src/services')
-rw-r--r-- | apps/files_sharing/src/services/ConfigService.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/src/services/ConfigService.js b/apps/files_sharing/src/services/ConfigService.js index 727e064e35e..a825bcb7d11 100644 --- a/apps/files_sharing/src/services/ConfigService.js +++ b/apps/files_sharing/src/services/ConfigService.js @@ -226,7 +226,7 @@ export default class Config { * @memberof Config */ get isPasswordForMailSharesRequired() { - return (OC.getCapabilities()['files_sharing']['sharebymail'] === undefined) ? false : OC.getCapabilities()['files_sharing']['sharebymail']['password']['enforced'] + return (OC.getCapabilities().files_sharing.sharebymail === undefined) ? false : OC.getCapabilities().files_sharing.sharebymail.password.enforced } /** |