proiect finalizat
This commit is contained in:
@@ -3,6 +3,15 @@ from database.queries.messages import find_conversation_db
|
||||
|
||||
|
||||
async def get_conversation(conversation_url: str):
|
||||
"""
|
||||
Retrieves the full context of the conversation
|
||||
|
||||
Args:
|
||||
conversation_url (str)
|
||||
|
||||
Returns:
|
||||
HTTP Status
|
||||
"""
|
||||
conversation = find_conversation_db(conversation_url)
|
||||
if conversation is None:
|
||||
raise HTTPException(status_code=status.HTTP_404_NOT_FOUND, detail="Conversation not found")
|
||||
|
||||
Reference in New Issue
Block a user