From ed16d42377f2eff999f3574c2a93a9bd33747b37 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 25 Dec 2022 06:37:29 +0200 Subject: [PATCH] actually redirect to old_id instead of new_id --- files/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index bbc480579..3f6838307 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -163,7 +163,7 @@ def move_acc(v:User, new_id, old_id): new_id = int(new_id) gevent.spawn(_moveacc, old_id, new_id) - return redirect(f"/id/{new_id}") + return redirect(f"/id/{old_id}")