fix ticks property for SwipeTimeGap.

#36
This commit is contained in:
chris.watts90@outlook.com 2017-02-22 22:47:38 +01:00
parent f5513ce122
commit 67eed43160

View File

@ -356,7 +356,7 @@ namespace SQLiteRepository
var threshold = DateTime.UtcNow.AddMinutes(0 - hysteresisThresholdMinutes); var threshold = DateTime.UtcNow.AddMinutes(0 - hysteresisThresholdMinutes);
var logs = _connection.Query<TimeLogDb>( var logs = _connection.Query<TimeLogDb>(
SQLiteProcedures.GET_LOGS_IN_LAST_X_MINUTES, SQLiteProcedures.GET_LOGS_IN_LAST_X_MINUTES,
threshold, ident.UserId_FK); threshold.Ticks, ident.UserId_FK);
if (logs.Any()) if (logs.Any())
{ {
logId = -1; logId = -1;