Skip to content

Commit a5ad9f3

Browse files
committed
fix: unique user query off by one bug
1 parent 6724984 commit a5ad9f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/clojurians_log/db/queries.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@
143143
:where
144144
[?msg :message/user ?user]
145145
[?msg :message/day ?day]
146-
[(> ?day ?from-day)]
147-
[(< ?day ?to-day)]]
146+
[(>= ?day ?from-day)]
147+
[(<= ?day ?to-day)]]
148148
db
149149
from-day
150150
to-day))

0 commit comments

Comments
 (0)