mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-08-05 10:55:29 +00:00
get_memory_graph/neighbors used require_user() (returns "" when auth is disabled/bypassed) while every other memory route uses get_current_user() via a local _owner() helper (returns None in that case). MemoryManager.load() and _verify_memory_owner() both special-case None as "no filter / bypass" but treat "" as a real owner to match against — and add_entry() never stamps owner="" on new entries. Net effect: in single-user/no-auth mode the graph endpoint always returned zero nodes and the links endpoints always 404'd. Found while seeding real data through the API to visually verify Milestone 2 — switching to _owner() (get_current_user) matches memory_routes.py's convention and fixes both endpoints. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| memory_graph_routes.py | ||
| memory_routes.py | ||