diff --git a/packages/config-yaml/src/interfaces/index.ts b/packages/config-yaml/src/interfaces/index.ts index 264a2d376..d57dbf587 100644 --- a/packages/config-yaml/src/interfaces/index.ts +++ b/packages/config-yaml/src/interfaces/index.ts @@ -76,7 +76,7 @@ export function getLocationsToLook( return locationsToLook; } -export async function listAvailableSecrets( +export function listAvailableSecrets( userSecretNames: string[], orgSecretNames: string[], assistantSecretNames: string[], @@ -84,7 +84,7 @@ export async function listAvailableSecrets( assistantSlug: PackageSlug, blockSlug: PackageSlug | undefined, currentUserSlug: string, -): Promise { +): SecretLocation[] { // Create a set of all secret names const allSecretNames = new Set([ ...userSecretNames,