Skip to content

Commit bc1f40e

Browse files
committed
RI-6141 await rdiClient before updating
1 parent 59b0968 commit bc1f40e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/api/src/modules/rdi/providers/rdi.client.provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class RdiClientProvider {
3636
this.logger.error(`RDI with ${clientMetadata.id} was not Found`);
3737
throw new NotFoundException(ERROR_MESSAGES.INVALID_RDI_INSTANCE_ID);
3838
}
39-
const rdiClient = this.rdiClientFactory.createClient(clientMetadata, rdi);
39+
const rdiClient = await this.rdiClientFactory.createClient(clientMetadata, rdi);
4040
if (rdiClient) {
4141
this.updateLastConnection(clientMetadata);
4242
}

0 commit comments

Comments
 (0)