fix(events): correct JSON encoder type in ScanStatsWorker (#6366)

Signed-off-by: Dwi Siswanto <git@dw1.io>
This commit is contained in:
Dwi Siswanto 2025-08-03 11:49:48 +07:00 committed by GitHub
parent b0fe565a8b
commit cff86b5c98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@ type ScanStatsWorker struct {
m *sync.Mutex m *sync.Mutex
directory string directory string
file *os.File file *os.File
enc *json.Encoder enc json.Encoder
} }
// Init initializes the scan stats worker // Init initializes the scan stats worker