Merge branch 'Release0.1.2'

This commit is contained in:
chris.watts90@outlook.com 2017-02-22 22:48:22 +01:00
commit 0591407567

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;