mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 22:03:50 +02:00
Lint
This commit is contained in:
@@ -6549,8 +6549,8 @@ speechSynthesis.getVoices();
|
||||
this.getMemo(id).then((memo) => {
|
||||
ctx.memo = memo;
|
||||
ctx.$nickName = '';
|
||||
if (memo) {
|
||||
var array = memo.split('\n');
|
||||
if (memo) {
|
||||
var array = memo.split('\n');
|
||||
ctx.$nickName = array[0];
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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