close db
This commit is contained in:
parent
23459bc0fd
commit
546d35d719
2
main.ts
2
main.ts
|
@ -55,6 +55,8 @@ else if (command === "get" && Deno.args.length == 2) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (newLastSeenAt != lastSeenAt) db.query("update channel set last_seen_at = ? where id = ?", [newLastSeenAt, id]);
|
if (newLastSeenAt != lastSeenAt) db.query("update channel set last_seen_at = ? where id = ?", [newLastSeenAt, id]);
|
||||||
|
|
||||||
|
db.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue