From 2b9033db1944dcada5c1be639ee38afc26e3ef70 Mon Sep 17 00:00:00 2001 From: Zaid Abdulla Date: Fri, 31 May 2019 18:30:53 -0700 Subject: [PATCH] Fix download RPC regression --- lib/session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/session.ts b/lib/session.ts index 8d45cfd..4cadfbc 100644 --- a/lib/session.ts +++ b/lib/session.ts @@ -2432,7 +2432,7 @@ export async function rpcResponse( case "DownloadResponse": toClear = device.set( sessionContext.deviceData, - Path.parse(`Download.${rpcReq.instance}.Download`), + Path.parse(`Downloads.${rpcReq.instance}.Download`), timestamp + 1, { value: [timestamp + 1, [sessionContext.timestamp, "xsd:dateTime"]] }, toClear