diff --git a/src/dodb/index.cr b/src/dodb/index.cr index b6e8c79..54fbdb1 100644 --- a/src/dodb/index.cr +++ b/src/dodb/index.cr @@ -114,7 +114,7 @@ class DODB::Index(V) < DODB::Indexer(V) end def update(index : String, new_value : V) - _, key = get_with_key index + key = get_key_on_fs index @storage[key] = new_value end