Optimize dockerfile

This commit is contained in:
Artyom Belousov 2023-05-27 22:46:01 +03:00
parent 32887ec9b8
commit 68f1750beb
2 changed files with 11 additions and 5 deletions

View file

@ -55,7 +55,7 @@ func (h *Handler) HandleMessage(c *gin.Context) {
case "confirmation":
h.handleConfirmation(c, &req)
case "message_new":
go h.Scenario.HandleSearch(context.Background(), &scenario.UserMessage{
h.Scenario.HandleSearch(context.Background(), &scenario.UserMessage{
Body: req.Object.Body,
UserId: req.Object.UserId,
})