Update count on getScanStatus

This commit is contained in:
Deluan
2020-11-01 16:37:33 -05:00
parent 3ea5b85b36
commit 8e584ee020
4 changed files with 31 additions and 17 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ func (c *LibraryScanningController) GetScanStatus(w http.ResponseWriter, r *http
response := newResponse()
response.ScanStatus = &responses.ScanStatus{
Scanning: status.Scanning,
Count: status.Count,
Count: int64(status.Count),
LastScan: &status.LastScan,
}
return response, nil