Skip to content

Commit ab68b67

Browse files
authored
Merge pull request #314 from lowcoder-org/fix-302-lamda-datasource-query-failed-to-run
Add Missing Existence Check For dynamicParamsConfig That Causes FireBase Conenctor Query Run Failure
2 parents 70ea444 + 2cc62cc commit ab68b67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/node-service/src/services/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ export async function runPluginQuery(
214214

215215
//forward cookies
216216
context.forEach(({ key, value }) => {
217-
if (key in dataSourceConfig.dynamicParamsConfig) {
217+
if (dataSourceConfig.dynamicParamsConfig && key in dataSourceConfig.dynamicParamsConfig) {
218218
const valueKey = `${key}.value`;
219219
dataSourceConfig.dynamicParamsConfig[valueKey] = value[0].value
220220
}

0 commit comments

Comments
 (0)