fix suggested_questions_after_answer

This commit is contained in:
takatost
2024-03-19 15:12:16 +08:00
parent 4ec14d8d91
commit 112593119a
3 changed files with 51 additions and 28 deletions

View File

@ -119,8 +119,7 @@ class MessageSuggestedApi(Resource):
questions = MessageService.get_suggested_questions_after_answer(
app_model=app_model,
user=end_user,
message_id=message_id,
check_enabled=False
message_id=message_id
)
except services.errors.message.MessageNotExistsError:
raise NotFound("Message Not Exists.")