update sqlite calls

This commit is contained in:
boneyard93501 2021-10-22 13:57:50 -05:00
parent b820e32eb3
commit afc70bff1c

View File

@ -97,7 +97,7 @@ export function select_event(snapshot_id: number): any {
};
// export function select_events(): Array<DBRecord> {
export function select_events(): any {
export async function select_events(): Promise<any> {
var db = get_db(DB_PATH);
// todo: add pagination
const stmt = 'select * from snapshot limit ?';