-
This commit is contained in:
parent
bba0c1a4f6
commit
aad18f161a
@ -386,7 +386,7 @@ func (s *Service) PutAnswersOnePiece(c *fiber.Ctx) error {
|
||||
|
||||
questionText, err := s.aiClient.SendAnswerer(final, question[0].Type, ans.Content, cs)
|
||||
if err != nil {
|
||||
return c.Status(fiber.StatusInternalServerError).SendString(fmt.Sprintf("can not send answer to ai, err: %s", err.Error()))
|
||||
return c.Status(fiber.StatusInternalServerError).SendString(fmt.Sprintf("failed send answer to ai, err: %s", err.Error()))
|
||||
}
|
||||
|
||||
_, err = s.dal.QuestionRepo.CreateQuestion(c.Context(), &model.Question{
|
||||
|
Loading…
Reference in New Issue
Block a user