lab4 done

This commit is contained in:
Khakimov Dmitrij
2026-10-28 22:41:10 +03:00
parent a7bedda183
commit dbc700fafe
75 changed files with 5611 additions and 227 deletions
+5
View File
@@ -16,5 +16,10 @@ func (h *Chat) readiness(c echo.Context) error {
if err := h.useCase.Ready(ctx); err != nil {
return h.useCaseError(c, err)
}
if h.attachments != nil {
if err := h.attachments.Ready(ctx); err != nil {
return h.useCaseError(c, err)
}
}
return c.JSON(http.StatusOK, dto.ReadinessResponse{Status: "ok"})
}