fix: close task 3 resolution findings

This commit is contained in:
gti
2026-09-22 19:11:08 -03:00
parent 5180725238
commit 516c71b932
4 changed files with 158 additions and 9 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ def router(session_factory):
except ValueError as error:
detail = blocker_detail(session, blocker_id)
return render(request, "blocker_detail.html", {"detail": detail, "auth": auth_data, "context_entries": [], "context_keys": sorted(ALLOWED_KEYS), "value_choices": sorted({value for values in ENUMS.values() for value in values}), "error": str(error)}, 422)
return RedirectResponse("/blockers", status_code=303)
return RedirectResponse(f"/blockers/{blocker_id}", status_code=303)
finally:
session.close()