mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-19 12:47:58 +00:00
Update lollms_discussion.py
This commit is contained in:
parent
3ffaf28156
commit
dbe1161b73
@ -151,7 +151,7 @@ async def delete_discussion(discussion: DiscussionDelete):
|
|||||||
try:
|
try:
|
||||||
|
|
||||||
client_id = discussion.client_id
|
client_id = discussion.client_id
|
||||||
discussion_id = sanitize_path(discussion.id)
|
discussion_id = discussion.id
|
||||||
discussion_path = lollmsElfServer.lollms_paths.personal_discussions_path/lollmsElfServer.config.discussion_db_name/discussion_id
|
discussion_path = lollmsElfServer.lollms_paths.personal_discussions_path/lollmsElfServer.config.discussion_db_name/discussion_id
|
||||||
|
|
||||||
lollmsElfServer.session.get_client(client_id).discussion = Discussion(lollmsElfServer, discussion_id, lollmsElfServer.db)
|
lollmsElfServer.session.get_client(client_id).discussion = Discussion(lollmsElfServer, discussion_id, lollmsElfServer.db)
|
||||||
|
Loading…
Reference in New Issue
Block a user