Reduce logs (#342)
This commit is contained in:
@@ -30,7 +30,6 @@ export class ShellLdapUserProvider implements UserProvider {
|
|||||||
stdout = stdout.substring(0, stdout.lastIndexOf("# search result"))
|
stdout = stdout.substring(0, stdout.lastIndexOf("# search result"))
|
||||||
}
|
}
|
||||||
let obj = ldif.parse(stdout).shift().toObject({});
|
let obj = ldif.parse(stdout).shift().toObject({});
|
||||||
logger.info(obj);
|
|
||||||
resolve({
|
resolve({
|
||||||
lastName: obj.attributes.sn,
|
lastName: obj.attributes.sn,
|
||||||
firstName: obj.attributes.givenName,
|
firstName: obj.attributes.givenName,
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ export class TwakeDriveClient {
|
|||||||
item,
|
item,
|
||||||
version,
|
version,
|
||||||
});
|
});
|
||||||
logger.info(response);
|
logger.info(response.data);
|
||||||
return response.data;
|
return response.data;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -87,7 +87,7 @@ export class TwakeDriveClient {
|
|||||||
const response
|
const response
|
||||||
= await (await this.client()).get(`${this.config.url}/internal/services/documents/v1/companies/00000000-0000-4000-0000-000000000000/item/${id}`, {
|
= await (await this.client()).get(`${this.config.url}/internal/services/documents/v1/companies/00000000-0000-4000-0000-000000000000/item/${id}`, {
|
||||||
});
|
});
|
||||||
logger.info(response);
|
logger.info(response.data);
|
||||||
return response.data;
|
return response.data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user