mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Lint
This commit is contained in:
+2
-2
@@ -6549,8 +6549,8 @@ speechSynthesis.getVoices();
|
|||||||
this.getMemo(id).then((memo) => {
|
this.getMemo(id).then((memo) => {
|
||||||
ctx.memo = memo;
|
ctx.memo = memo;
|
||||||
ctx.$nickName = '';
|
ctx.$nickName = '';
|
||||||
if (memo) {
|
if (memo) {
|
||||||
var array = memo.split('\n');
|
var array = memo.split('\n');
|
||||||
ctx.$nickName = array[0];
|
ctx.$nickName = array[0];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -160,16 +160,13 @@ class Database {
|
|||||||
|
|
||||||
async getAllMemos() {
|
async getAllMemos() {
|
||||||
var memos = [];
|
var memos = [];
|
||||||
await sqliteService.execute(
|
await sqliteService.execute((dbRow) => {
|
||||||
(dbRow) => {
|
var row = {
|
||||||
var row = {
|
userId: dbRow[0],
|
||||||
userId: dbRow[0],
|
memo: dbRow[1]
|
||||||
memo: dbRow[1]
|
};
|
||||||
};
|
memos.push(row);
|
||||||
memos.push(row);
|
}, 'SELECT user_id, memo FROM memos');
|
||||||
},
|
|
||||||
'SELECT user_id, memo FROM memos'
|
|
||||||
);
|
|
||||||
return memos;
|
return memos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user