mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
chore: npm run lint:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> Signed-off-by: Louis Chmn <louis@chmn.me>
This commit is contained in:
parent
f9abfe0473
commit
00349e674d
2 changed files with 3 additions and 5 deletions
|
|
@ -118,9 +118,7 @@ export async function deleteConfig(configId: string): Promise<boolean> {
|
|||
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<OCSResponse<{ success: boolean, message: string }>>
|
||||
const response = await axios.post(generateOcsUrl('apps/user_ldap/api/v1/config/{configId}/test', { configId })) as AxiosResponse<OCSResponse<{ success: boolean, message: string }>>
|
||||
|
||||
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<OCSResponse>
|
||||
|
||||
logger.debug('Cleared mapping', { subject, params, response })
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue