mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-20 07:13:51 +02:00
Lint
This commit is contained in:
@@ -160,16 +160,13 @@ class Database {
|
||||
|
||||
async getAllMemos() {
|
||||
var memos = [];
|
||||
await sqliteService.execute(
|
||||
(dbRow) => {
|
||||
var row = {
|
||||
userId: dbRow[0],
|
||||
memo: dbRow[1]
|
||||
};
|
||||
memos.push(row);
|
||||
},
|
||||
'SELECT user_id, memo FROM memos'
|
||||
);
|
||||
await sqliteService.execute((dbRow) => {
|
||||
var row = {
|
||||
userId: dbRow[0],
|
||||
memo: dbRow[1]
|
||||
};
|
||||
memos.push(row);
|
||||
}, 'SELECT user_id, memo FROM memos');
|
||||
return memos;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user