refactor - tests

This commit is contained in:
Jaremy Creechley 2023-09-27 19:19:20 -07:00
parent cac5d52b35
commit d4a7549e12
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -230,7 +230,7 @@ iterator iter*[K, V](handle: var DbQueryHandle[K, V, FsQueryEnv[K,V]]
yield DbQueryResponse[K,V].failure flres.error()
let
key = K.toKey(keyPath)
key = K.toKey($Key.init(keyPath).expect("valid key"))
data =
if handle.query.value:
let res = readFile[V](handle.env.self, flres.get)