lab5 done

This commit is contained in:
Khakimov Dmitrij
2026-11-10 22:13:40 +03:00
parent b2bd7501d3
commit cbe9d8748c
63 changed files with 8907 additions and 307 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ func (s *Storage) CreateMessageWithAttachments(ctx context.Context, chatID, send
if err != nil {
return domain.Message{}, dbError(err)
}
if status != "ready" {
if status == "failed" {
return domain.Message{}, domain.NewApplicationError(domain.ErrorConflict, "Вложение не готово")
}
}