Skip to content

Commit 631dd16

Browse files
author
David Buezas
committed
fix broken attribute fetching
1 parent 75db3cf commit 631dd16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async function fetchSingleRange(
2020
const start = new Date(startT);
2121
const end = new Date(endT);
2222
const [entityId2, attribute] = entityIdWithAttribute.split("::");
23-
const minimal_response = !!attribute ? "&minimal_response" : "";
23+
const minimal_response = !attribute ? "&minimal_response" : "";
2424
const uri =
2525
`history/period/${start.toISOString()}?` +
2626
`filter_entity_id=${entityId2}&` +

0 commit comments

Comments
 (0)