feat: universal chat in explore (#649)
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
This commit is contained in:
parent
94b54b7ca9
commit
4fdb37771a
64 changed files with 3186 additions and 858 deletions
|
|
@ -65,7 +65,10 @@ class ConversationApi(InstalledAppResource):
|
|||
raise NotChatAppError()
|
||||
|
||||
conversation_id = str(c_id)
|
||||
ConversationService.delete(app_model, conversation_id, current_user)
|
||||
try:
|
||||
ConversationService.delete(app_model, conversation_id, current_user)
|
||||
except ConversationNotExistsError:
|
||||
raise NotFound("Conversation Not Exists.")
|
||||
WebConversationService.unpin(app_model, conversation_id, current_user)
|
||||
|
||||
return {"result": "success"}, 204
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue