1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-08-21 17:04:08 +02:00

No real changes, just renames

This commit is contained in:
binwiederhier 2023-06-09 14:32:34 -04:00
parent 4704b2a0e4
commit 2e8292a65f
10 changed files with 31 additions and 35 deletions
web/src/components

View file

@ -13,7 +13,7 @@ import session from "../app/Session";
import logo from "../img/ntfy.svg";
import subscriptionManager from "../app/SubscriptionManager";
import routes from "./routes";
import getDb from "../app/getDb";
import db from "../app/db";
import { topicDisplayName } from "../app/utils";
import Navigation from "./Navigation";
import accountApi from "../app/AccountApi";
@ -121,7 +121,7 @@ const ProfileIcon = () => {
const handleLogout = async () => {
try {
await accountApi.logout();
await getDb().delete();
await db().delete();
} finally {
session.resetAndRedirect(routes.app);
}