1
0
Fork 0
mirror of synced 2024-07-08 15:56:23 +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 updatedDatasource: Datasource
) { ) {
const existingVariables: DynamicVariable[] = const existingVariables: DynamicVariable[] =
existingDatasource.config?.dynamicVariables existingDatasource.config?.dynamicVariables || []
const updatedVariables: DynamicVariable[] = const updatedVariables: DynamicVariable[] =
updatedDatasource.config?.dynamicVariables updatedDatasource.config?.dynamicVariables || []
const toInvalidate = [] const toInvalidate = []
if (!existingVariables) { if (!existingVariables) {

View file

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