From cab18cd26bf3452469afd79d5c174ff47129da2b Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Tue, 7 May 2024 01:37:46 +0200 Subject: [PATCH] Call a simpler function. --- src/dodb/index.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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