fix(dynamic-secrets): renewal 500 error

This commit is contained in:
Daniel Hougaard
2024-11-25 20:17:50 +04:00
parent 21403f6fe5
commit 463eb0014e
13 changed files with 44 additions and 33 deletions
@@ -141,6 +141,8 @@ export const RedisDatabaseProvider = (): TDynamicProviderFns => {
const renew = async (inputs: unknown, entityId: string, expireAt: number) => {
const providerInputs = await validateProviderInputs(inputs);
if (!providerInputs.renewStatement) return { entityId };
const connection = await getClient(providerInputs);
const username = entityId;