We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0095778 commit 0578684Copy full SHA for 0578684
pkg/lib/usage/globaldb_store.go
@@ -226,7 +226,7 @@ func (s *GlobalDBStore) FetchUsageRecordsInRange(
226
).
227
From(s.SQLBuilder.TableName("_portal_usage_record")).
228
Where(
229
- "app_id = ? AND name = ? AND period = ? AND start_time >= ? AND end_time <= ?",
+ "app_id = ? AND name = ? AND period = ? AND start_time >= ? AND start_time < ?",
230
appID,
231
string(recordName),
232
string(period),
0 commit comments