feat: persist heaven readings in unified dialog
This commit is contained in:
@@ -13,6 +13,7 @@ MEMBER_GET_PATHS = frozenset(
|
||||
"/api/mentors/setup",
|
||||
"/api/mentors/messages",
|
||||
"/api/heaven/setup",
|
||||
"/api/heaven/readings",
|
||||
"/api/assistant/messages",
|
||||
}
|
||||
)
|
||||
@@ -60,4 +61,6 @@ def required_role(method: str, path: str) -> AccessRole:
|
||||
r"/api/screener/strategies/\d+", path
|
||||
):
|
||||
return "member"
|
||||
if re.fullmatch(r"/api/heaven/readings/\d+", path):
|
||||
return "member"
|
||||
return "authenticated"
|
||||
|
||||
Reference in New Issue
Block a user