mirror of
https://github.com/Xevion/scla-unsubscribe.git
synced 2025-12-09 14:08:34 -06:00
Clean up main func
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user