diff --git a/apps/user_ldap/src/services/ldapConfigService.ts b/apps/user_ldap/src/services/ldapConfigService.ts index cbc128cdf9c..8611faf132f 100644 --- a/apps/user_ldap/src/services/ldapConfigService.ts +++ b/apps/user_ldap/src/services/ldapConfigService.ts @@ -118,9 +118,7 @@ export async function deleteConfig(configId: string): Promise { export async function testConfiguration(configId: string) { const params = new FormData() - const response = await axios.post( - generateOcsUrl('apps/user_ldap/api/v1/config/{configId}/test', { configId }), - ) as AxiosResponse> + const response = await axios.post(generateOcsUrl('apps/user_ldap/api/v1/config/{configId}/test', { configId })) as AxiosResponse> logger.debug(`Configuration is ${response.data.ocs.data.success ? 'valide' : 'invalide'}`, { configId, params, response }) @@ -143,7 +141,7 @@ export async function clearMapping(subject: 'user' | 'group') { try { const response = await axios.post( generateOcsUrl('apps/user_ldap/api/v1/wizard/clearMappings'), - { subject: subject }, + { subject }, ) as AxiosResponse logger.debug('Cleared mapping', { subject, params, response }) diff --git a/core/src/files/fileinfo.js b/core/src/files/fileinfo.js index c6fcc17e95e..b987c840393 100644 --- a/core/src/files/fileinfo.js +++ b/core/src/files/fileinfo.js @@ -11,7 +11,7 @@ import _ from 'underscore' * @class OC.Files.FileInfo * @classdesc File information * - * @param {Object} data file data, see attributes for details + * @param {object} data file data, see attributes for details * * @since 8.2 */