From df04bb5b604449c65cf9231d7ab4d23e4d4c9566 Mon Sep 17 00:00:00 2001 From: SimolZimol <70102430+SimolZimol@users.noreply.github.com> Date: Thu, 24 Oct 2024 15:43:37 +0200 Subject: [PATCH] modified: app.py --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 8c92708..4954952 100644 --- a/app.py +++ b/app.py @@ -339,14 +339,14 @@ def logout(): def start(): if is_bot_admin(): start_bot() - return redirect(url_for("admin_dashboard")) + return redirect(url_for("global_admin_dashboard")) return redirect(url_for("landing_page")) @app.route("/stop_bot") def stop(): if is_bot_admin(): stop_bot() - return redirect(url_for("admin_dashboard")) + return redirect(url_for("global_admin_dashboard")) return redirect(url_for("landing_page")) if __name__ == "__main__":