Fix exporting.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4177 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-02-15 02:43:08 +00:00
parent 6b5d73ed5c
commit 507a62539d
2 changed files with 9 additions and 7 deletions

View File

@ -47,7 +47,7 @@ tfrpc.register(async function closeConnection(id) {
});
tfrpc.register(async function query(sql, args) {
let result = [];
await ssb.sqlStream(sql, args, function callback(row) {
await ssb.sqlAsync(sql, args, function callback(row) {
result.push(row);
});
return result;