mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-25 23:40:58 +02:00
Fix chat sharing
This commit is contained in:
parent
dac4be62e0
commit
31bfbe5d16
@ -108,7 +108,12 @@ def get_chat_session(
|
||||
db_session.commit()
|
||||
|
||||
session_messages = get_chat_messages_by_session(
|
||||
chat_session_id=session_id, user_id=user_id, db_session=db_session
|
||||
chat_session_id=session_id,
|
||||
user_id=user_id,
|
||||
db_session=db_session,
|
||||
# we already did a permission check above with the call to
|
||||
# `get_chat_session_by_id`, so we can skip it here
|
||||
skip_permission_check=True,
|
||||
)
|
||||
|
||||
return ChatSessionDetailResponse(
|
||||
|
Loading…
x
Reference in New Issue
Block a user