diff --git a/src/if-run/builtins/csv-lookup/index.ts b/src/if-run/builtins/csv-lookup/index.ts index f66981b9..63a4a349 100644 --- a/src/if-run/builtins/csv-lookup/index.ts +++ b/src/if-run/builtins/csv-lookup/index.ts @@ -203,8 +203,8 @@ export const CSVLookup = ( * 4. Filters requested information from CSV. */ const execute = async (inputs: PluginParams[]) => { - const safeGlobalConfig = validateConfig(); - const {filepath, query, output} = safeGlobalConfig; + const safeConfig = validateConfig(); + const {filepath, query, output} = safeConfig; const file = await retrieveFile(filepath); const parsedCSV = parseCSVFile(file);