We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b515651 commit 31e41a9Copy full SHA for 31e41a9
redisinsight/api/src/modules/database/repositories/local.database.repository.ts
@@ -228,7 +228,7 @@ export class LocalDatabaseRepository extends DatabaseRepository {
228
private async checkUniqueness(database: Database): Promise<void> {
229
// Do not create a connection if it triggered from cloud and have the same fields
230
if (database.cloudDetails?.cloudId) {
231
- const entity = await this.encryptEntity(classToClass(DatabaseEntity, database));
+ const entity = await this.encryptEntity(classToClass(DatabaseEntity, { ...database }));
232
233
if (entity.caCert) {
234
entity.caCert = await (new ModelEncryptor(this.encryptionService, [
0 commit comments