diff --git a/apps/api/src/lib/leo/utils.ts b/apps/api/src/lib/leo/utils.ts index 5f50b9c50..a4d114548 100644 --- a/apps/api/src/lib/leo/utils.ts +++ b/apps/api/src/lib/leo/utils.ts @@ -86,7 +86,7 @@ export function getInactivityFilter( export function convertToJailTimeScale(total: number, scale: JailTimeScale) { if (scale === JailTimeScale.HOURS) { - return total * 60 * 60 * 1000 * 24; + return total * 60 * 60 * 1000; } if (scale === JailTimeScale.MINUTES) {