Addressing PR comments.
This commit is contained in:
parent
92ac417fdf
commit
a91ecb8c14
|
@ -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) {
|
||||
|
|
|
@ -9,7 +9,7 @@ export interface RowResponse<T extends Document | RowValue> {
|
|||
id: string
|
||||
key: string
|
||||
error: string
|
||||
value: T | RowValue
|
||||
value: T
|
||||
doc?: T
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue