diff --git a/tdrive/backend/utils/nextcloud-migration/src/shell_ldap_user.ts b/tdrive/backend/utils/nextcloud-migration/src/shell_ldap_user.ts index 9f466e84..6b762725 100644 --- a/tdrive/backend/utils/nextcloud-migration/src/shell_ldap_user.ts +++ b/tdrive/backend/utils/nextcloud-migration/src/shell_ldap_user.ts @@ -30,7 +30,6 @@ export class ShellLdapUserProvider implements UserProvider { stdout = stdout.substring(0, stdout.lastIndexOf("# search result")) } let obj = ldif.parse(stdout).shift().toObject({}); - logger.info(obj); resolve({ lastName: obj.attributes.sn, firstName: obj.attributes.givenName, diff --git a/tdrive/backend/utils/nextcloud-migration/src/twake_client.ts b/tdrive/backend/utils/nextcloud-migration/src/twake_client.ts index fedc1627..1ad72b64 100644 --- a/tdrive/backend/utils/nextcloud-migration/src/twake_client.ts +++ b/tdrive/backend/utils/nextcloud-migration/src/twake_client.ts @@ -78,7 +78,7 @@ export class TwakeDriveClient { item, version, }); - logger.info(response); + logger.info(response.data); return response.data; }; @@ -87,7 +87,7 @@ export class TwakeDriveClient { const response = 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; }