Mise à jour du titre (imparfait)

This commit is contained in:
fabien committed 2026-10-05 22:05:07 +02:00
1 parent 345129c7bf
commit 509a3b14c8
14 files changed
+451 -18

No files matched your search

+5 -1
View File
@@ -1,6 +1,7 @@
package handlers
import (
"context"
"encoding/json"
"net/http"
"strconv"
@@ -61,6 +62,9 @@ func (h *ChatHandler) NewChat(c *echo.Context) error {
}
func (h *ChatHandler) NewChatMessage(c *echo.Context) error {
ctx := context.Background()
userID := c.Get(auth.ContextUserIDKey).(string)
teamID := c.Param("space")
chatID := c.Param("id")
@@ -75,7 +79,7 @@ func (h *ChatHandler) NewChatMessage(c *echo.Context) error {
chunkChan := make(chan *domain.Chunk)
_, err = h.chatService.AddChatMessage(
c.Request().Context(),
ctx,
userID,
teamID,
chatID,