fix: doc issue in #757 (#767)

This commit is contained in:
crazywoola 2023-08-07 11:30:39 +08:00 committed by GitHub
commit cc7b5d128b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -64,9 +64,9 @@ class ConversationDetailApi(AppApiResource):
try:
ConversationService.delete(app_model, conversation_id, end_user)
return {"result": "success"}
except services.errors.conversation.ConversationNotExistsError:
raise NotFound("Conversation Not Exists.")
return {"result": "success"}, 204
class ConversationRenameApi(AppApiResource):