Call a simpler function.

master
Philippe PITTOLI 2024-05-07 01:37:46 +02:00
parent b4460e59fa
commit cab18cd26b
1 changed files with 1 additions and 1 deletions

View File

@ -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