Skip to content

Commit 4c4581f

Browse files
author
Artem
committed
remove console logs :)
1 parent 51fe7a6 commit 4c4581f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

redisinsight/api/src/modules/database/repositories/local.database.repository.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,9 @@ export class LocalDatabaseRepository extends DatabaseRepository {
128128
*/
129129
public async update(id: string, database: Partial<Database>): Promise<Database> {
130130
const oldEntity = await this.decryptEntity((await this.repository.findOneBy({ id })), true);
131-
console.log('___ oldEntity', oldEntity)
132131
const newEntity = classToClass(DatabaseEntity, await this.populateCertificates(database as Database));
133132

134-
console.log('___ newEntity', newEntity)
135-
136133
const mergeResult = this.repository.merge(oldEntity, newEntity);
137-
console.log('___ mergeResult', mergeResult)
138134

139135
if (newEntity.caCert === null) {
140136
mergeResult.caCert = null;
@@ -150,7 +146,6 @@ export class LocalDatabaseRepository extends DatabaseRepository {
150146

151147
const encrypted = await this.encryptEntity(mergeResult);
152148

153-
console.log('___ encrypted', encrypted)
154149
await this.repository.save(encrypted);
155150

156151
// workaround for one way cascade deletion

0 commit comments

Comments
 (0)