File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
redisinsight/api/src/modules/database/repositories Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -128,13 +128,9 @@ export class LocalDatabaseRepository extends DatabaseRepository {
128
128
*/
129
129
public async update ( id : string , database : Partial < Database > ) : Promise < Database > {
130
130
const oldEntity = await this . decryptEntity ( ( await this . repository . findOneBy ( { id } ) ) , true ) ;
131
- console . log ( '___ oldEntity' , oldEntity )
132
131
const newEntity = classToClass ( DatabaseEntity , await this . populateCertificates ( database as Database ) ) ;
133
132
134
- console . log ( '___ newEntity' , newEntity )
135
-
136
133
const mergeResult = this . repository . merge ( oldEntity , newEntity ) ;
137
- console . log ( '___ mergeResult' , mergeResult )
138
134
139
135
if ( newEntity . caCert === null ) {
140
136
mergeResult . caCert = null ;
@@ -150,7 +146,6 @@ export class LocalDatabaseRepository extends DatabaseRepository {
150
146
151
147
const encrypted = await this . encryptEntity ( mergeResult ) ;
152
148
153
- console . log ( '___ encrypted' , encrypted )
154
149
await this . repository . save ( encrypted ) ;
155
150
156
151
// workaround for one way cascade deletion
You can’t perform that action at this time.
0 commit comments