mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-08-17 23:14:01 +02:00
Format & fix lint
This commit is contained in:
parent
8ccfa5c3fb
commit
390d42c607
6 changed files with 13 additions and 11 deletions
web/src/app
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue