mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-29 13:27:03 +02:00
Fixed import count updates
This commit is contained in:
parent
56eae67292
commit
08876a2d70
4 changed files with 4 additions and 5 deletions
|
@ -134,7 +134,7 @@ func (b *ScrobblerLogBackend) ImportListens(export models.ListensResult, importR
|
|||
}
|
||||
|
||||
importResult.UpdateTimestamp(lastTimestamp)
|
||||
importResult.ImportCount = len(export.Listens)
|
||||
importResult.ImportCount += len(export.Listens)
|
||||
progress <- models.Progress{}.FromImportResult(importResult)
|
||||
|
||||
return importResult, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue