Skip to content

Self-hosted AI workspace.

Python

fix: fire-reminder endpoint crashes with NameError on _gcu (#1250)

Paulo Victor Cordeiro95b1af277881
diff --git a/routes/note_routes.py b/routes/note_routes.py
index 1524afc60..bcf7637f5 100644
--- a/routes/note_routes.py
+++ b/routes/note_routes.py
@@ -696,7 +696,7 @@ def setup_note_routes(task_scheduler=None):
# the same dispatch without an HTTP roundtrip + auth cookie.
return await dispatch_reminder(
title=title, note_body=note_body, note_id=note_id,
- owner=_gcu(request) or "",
+ owner=_owner(request) or "",
queue_browser=False,
)