Skip to content

Commit 9f49fe6

Browse files
addressing comments
1 parent 0f1b048 commit 9f49fe6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/app/data-client.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -699,14 +699,15 @@ export class DataClient {
699699
* the data
700700
* @param methodName The data capture method name
701701
* @returns A tuple containing [timeCaptured, timeSynced, payload] or null if
702-
* no data has been synced
702+
* no data has been synced for the specified resource or the most recently
703+
* captured data was over a year ago
703704
*/
704705
async getLatestTabularData(
705706
partId: string,
706707
resourceName: string,
707708
resourceSubtype: string,
708709
methodName: string
709-
) {
710+
): Promise<[Date, Date, Record<string, JsonValue>] | null> {
710711
const resp = await this.dataClient.getLatestTabularData({
711712
partId,
712713
resourceName,

0 commit comments

Comments
 (0)