Clean up main func

This commit is contained in:
2023-12-29 18:19:57 -06:00
parent 88e3cbec24
commit 1a6ef0230a
2 changed files with 7 additions and 20 deletions

View File

@@ -217,7 +217,6 @@ func GetDirectoryCached(letter string) ([]Entry, error) {
// Check if cached
var entries []Entry
err := db.View(func(txn *badger.Txn) error {
log.Debug().Str("key", key).Msg("Accessing Directory Cache")
directoryItem, err := txn.Get([]byte(key))
// Check if key was found