1
0
Fork 0
mirror of synced 2024-07-05 22:40:39 +12:00

Addressing PR comments.

This commit is contained in:
mike12345567 2024-02-29 17:03:04 +00:00
parent 92ac417fdf
commit a91ecb8c14
2 changed files with 3 additions and 3 deletions

View file

@ -95,9 +95,9 @@ async function invalidateVariables(
updatedDatasource: Datasource
) {
const existingVariables: DynamicVariable[] =
existingDatasource.config?.dynamicVariables
existingDatasource.config?.dynamicVariables || []
const updatedVariables: DynamicVariable[] =
updatedDatasource.config?.dynamicVariables
updatedDatasource.config?.dynamicVariables || []
const toInvalidate = []
if (!existingVariables) {

View file

@ -9,7 +9,7 @@ export interface RowResponse<T extends Document | RowValue> {
id: string
key: string
error: string
value: T | RowValue
value: T
doc?: T
}