diff --git a/datastore/threads/threadproxyds.nim b/datastore/threads/threadproxyds.nim index b573bf1..422c548 100644 --- a/datastore/threads/threadproxyds.nim +++ b/datastore/threads/threadproxyds.nim @@ -204,7 +204,7 @@ method put*[BT](self: ThreadDatastore[BT], return ctx[].res.toRes() method put*[DB]( - self: ThreadDatastore, + self: ThreadDatastore[DB], batch: seq[BatchEntry]): Future[?!void] {.async.} = ## put batch data for entry in batch: diff --git a/tests/datastore/testthreadproxyds.nim b/tests/datastore/testthreadproxyds.nim index f415ba6..000c52d 100644 --- a/tests/datastore/testthreadproxyds.nim +++ b/tests/datastore/testthreadproxyds.nim @@ -63,7 +63,6 @@ for i in 1..N: key = Key.init("/a/b").tryGet() bytes = "some bytes".toBytes otherBytes = "some other bytes".toBytes - setup: sqlStore = newSQLiteBackend[KeyId, DataBuffer](Memory).tryGet()