mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
remove coding_only from scope
This commit is contained in:
@@ -3,7 +3,8 @@ include ApplicationHelper
|
||||
class TestWakatimeService
|
||||
def initialize(user: nil, specific_filters: [], allow_cache: true, limit: 10, start_date: nil, end_date: nil, scope: nil, boundary_aware: false)
|
||||
@scope = scope || Heartbeat.all
|
||||
@scope = @scope.coding_only
|
||||
# trusting time from hackatime extensions.....
|
||||
# @scope = @scope.coding_only
|
||||
@scope = @scope.with_valid_timestamps
|
||||
@user = user
|
||||
@boundary_aware = boundary_aware
|
||||
|
||||
Reference in New Issue
Block a user