We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2516553 commit c50fa87Copy full SHA for c50fa87
mikupad.html
@@ -5223,10 +5223,11 @@
5223
}
5224
5225
async saveSessionToDB(sessionId) {
5226
- if (!this.sessions[sessionId] || this.sessions[sessionId].inactive)
+ const sessionData = this.sessions[sessionId];
5227
+ if (!sessionData || sessionData.inactive)
5228
return;
5229
const db = await this.openDatabase();
- await this.saveToDatabase(db, sessionId, this.sessions[sessionId]);
5230
+ await this.saveToDatabase(db, sessionId, sessionData);
5231
5232
5233
async getNewId() {
0 commit comments