From e3d3a07d14b99bd626206c707f8b03430ba0db50 Mon Sep 17 00:00:00 2001 From: Joe Nelson Date: Sat, 22 Nov 2014 18:52:19 -0800 Subject: [PATCH] Fun, fun, offbyone --- src/App.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.hs b/src/App.hs index 6d29b5513..13aed805c 100644 --- a/src/App.hs +++ b/src/App.hs @@ -71,7 +71,7 @@ app req = let (tableTotal, queryTotal, body) = fromMaybe (0, 0, Just "" :: Maybe Text) row from = fromMaybe 0 $ rangeOffset <$> range - to = from+queryTotal + to = from+queryTotal-1 contentRange = contentRangeH from to tableTotal status = rangeStatus from to tableTotal canonical = urlEncodeVars