Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When running a query using the Firebase plugin, I get this error:
Expected Behavior
The query should go through and not cause an error
Steps to reproduce
- Build Lowcoder from source on docker using the steps on the github repo
- Create a Firebase datasource
- Create any query using this datasource
Environment
OS: Ubuntu 22.04.2 LTS aarch64
Kernel: 5.15.0-1037-oracle aarch64
Arch: aarch64
Docker version: 24.0.2
Git version: 2.34.1
Shell: /bin/zsh
Additional Information
The error happens in the if condition of the runPluginQuery function (server/node-service/src/services/plugin.ts line 217)
By adding this logging:
console.log(dataSourceConfig);
console.log(dataSourceConfig.dynamicParamsConfig);
I can confirm dataSourceConfig.dynamicParamsConfig is indeed undefined
{
privateKey: 'supersecrettoken',
firestoreId: 'secretID',
databaseUrl: 'https://firebase.com/'
}
undefined