forked from mirrors/bookwyrm
Fixes redirect on reports modal
This commit is contained in:
parent
78dd5caf9f
commit
aee7e1ae41
1 changed files with 1 additions and 1 deletions
|
@ -36,4 +36,4 @@ class Report(View):
|
|||
domain.status = "pending"
|
||||
domain.save()
|
||||
emailing.moderation_report_email(report)
|
||||
return redirect(request.headers.get("Referer", "/"))
|
||||
return redirect("/")
|
||||
|
|
Loading…
Reference in a new issue