From 0936e80cc5a1e00d8aab097e4dcf210e216d5fe6 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 20 Dec 2022 03:38:11 +0200 Subject: [PATCH] return an actual message when toggling dark mode --- files/events/routes/theme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/events/routes/theme.py b/files/events/routes/theme.py index 0b47f0c99..1b120ca5b 100644 --- a/files/events/routes/theme.py +++ b/files/events/routes/theme.py @@ -13,4 +13,4 @@ def event_darkmode(v): g.db.add(user) - return {} + return {"message": "Dark mode toggled successfully!"}