mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
chore: filter out unwanted categories
This commit is contained in:
@@ -6,6 +6,9 @@ class TestWakatimeService
|
||||
# trusting time from hackatime extensions.....
|
||||
# @scope = @scope.coding_only
|
||||
@scope = @scope.with_valid_timestamps
|
||||
|
||||
# yeah macha we're removing unwated categories
|
||||
@scope = @scope.where.not("LOWER(category) IN (?)", [ "browsing", "ai coding", "meeting", "communicating" ])
|
||||
@user = user
|
||||
@boundary_aware = boundary_aware
|
||||
|
||||
|
||||
Reference in New Issue
Block a user