Skip to content

Commit 350364e

Browse files
committed
fix: remove invalid parameter
1 parent 6a057f1 commit 350364e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/routes/api.boxes.$deviceId.sensors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const loader: LoaderFunction = async ({
5050

5151
count = countParam === null ? undefined : Number(countParam)
5252

53-
const meas = await getLatestMeasurements(deviceId, undefined, count)
53+
const meas = await getLatestMeasurements(deviceId, count)
5454

5555
return StandardResponse.ok(meas)
5656
} catch (err) {

0 commit comments

Comments
 (0)