From 00349e674da4d4e10ebd34cce0a2d1b4d41af942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Tue, 7 Oct 2025 15:56:08 +0200 Subject: [PATCH] chore: npm run lint:fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet Signed-off-by: Louis Chmn --- apps/user_ldap/src/services/ldapConfigService.ts | 6 ++---- core/src/files/fileinfo.js | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) 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 */