Format & fix lint

This commit is contained in:
nimbleghost
2023-06-13 14:02:54 +02:00
parent 8ccfa5c3fb
commit 390d42c607
6 changed files with 13 additions and 11 deletions

View File

@@ -5,8 +5,8 @@ import db from "./db";
import { topicUrl } from "./utils";
class SubscriptionManager {
constructor(db) {
this.db = db;
constructor(dbImpl) {
this.db = dbImpl;
}
/** All subscriptions, including "new count"; this is a JOIN, see https://dexie.org/docs/API-Reference#joining */
@@ -124,7 +124,6 @@ class SubscriptionManager {
} else {
await api.deleteWebPush(browserSubscription);
}
}
async updateState(subscriptionId, state) {