fix: correct early return for renew

This commit is contained in:
Scott Wilson
2024-10-31 10:31:50 -07:00
parent 3912e2082d
commit 10b457a695

View File

@@ -134,7 +134,7 @@ export const SnowflakeProvider = (): TDynamicProviderFns => {
const renew = async (inputs: unknown, username: string, expireAt: number) => {
const providerInputs = await validateProviderInputs(inputs);
if (!providerInputs.renewStatement) return;
if (!providerInputs.renewStatement) return { entityId: username };
const client = await getClient(providerInputs);