refactor: renamed funcs

This commit is contained in:
David Allen 2025-06-20 14:16:00 -06:00
parent dadb51e40d
commit 5943854fc1
Signed by: towk
GPG key ID: 0430CDBE22619155
2 changed files with 2 additions and 2 deletions

View file

@ -154,7 +154,7 @@ var ScanCmd = &cobra.Command{
// TODO: change this to use an extensible plugin system for storage solutions
// (i.e. something like cache.InsertScannedAssets(path, assets) which implements a Cache interface)
if len(foundAssets) > 0 {
err = sqlite.InsertScannedAssets(cachePath, foundAssets...)
err = sqlite.InsertRemoteAssets(cachePath, foundAssets...)
if err != nil {
log.Error().Err(err).Msg("failed to write scanned assets to cache")
}