Skip to content

Commit 00349e6

Browse files
come-ncartonge
authored andcommitted
chore: npm run lint:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> Signed-off-by: Louis Chmn <louis@chmn.me>
1 parent f9abfe0 commit 00349e6

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

apps/user_ldap/src/services/ldapConfigService.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,7 @@ export async function deleteConfig(configId: string): Promise<boolean> {
118118
export async function testConfiguration(configId: string) {
119119
const params = new FormData()
120120

121-
const response = await axios.post(
122-
generateOcsUrl('apps/user_ldap/api/v1/config/{configId}/test', { configId }),
123-
) as AxiosResponse<OCSResponse<{ success: boolean, message: string }>>
121+
const response = await axios.post(generateOcsUrl('apps/user_ldap/api/v1/config/{configId}/test', { configId })) as AxiosResponse<OCSResponse<{ success: boolean, message: string }>>
124122

125123
logger.debug(`Configuration is ${response.data.ocs.data.success ? 'valide' : 'invalide'}`, { configId, params, response })
126124

@@ -143,7 +141,7 @@ export async function clearMapping(subject: 'user' | 'group') {
143141
try {
144142
const response = await axios.post(
145143
generateOcsUrl('apps/user_ldap/api/v1/wizard/clearMappings'),
146-
{ subject: subject },
144+
{ subject },
147145
) as AxiosResponse<OCSResponse>
148146

149147
logger.debug('Cleared mapping', { subject, params, response })

core/src/files/fileinfo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import _ from 'underscore'
1111
* @class OC.Files.FileInfo
1212
* @classdesc File information
1313
*
14-
* @param {Object} data file data, see attributes for details
14+
* @param {object} data file data, see attributes for details
1515
*
1616
* @since 8.2
1717
*/

0 commit comments

Comments
 (0)