fix: Update session after request (#33136)
This commit is contained in:
parent
e1aa789acf
commit
0613f4b11f
1 changed files with 1 additions and 1 deletions
|
|
@ -403,7 +403,7 @@ def sync_database():
|
|||
|
||||
# update session
|
||||
if session := getattr(frappe.local, "session_obj", None):
|
||||
session.update()
|
||||
frappe.request.after_response.add(session.update)
|
||||
|
||||
|
||||
# Always initialize sentry SDK if the DSN is sent
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue