🐛 Fix edit question lost it answer

This commit is contained in:
LittleSheep 2025-02-08 13:27:25 +08:00
parent 748f442cbc
commit b756a9f19c

View File

@ -220,6 +220,7 @@ func editQuestion(c *fiber.Ctx) error {
Attachments: data.Attachments,
},
Reward: body.Reward,
Answer: body.Answer,
}
var newBodyMapping map[string]any