fix: fixup leads
ci-api / test (push) Has been cancelled
ci-web / test (push) Failing after 18m36s

This commit is contained in:
Nuxgrid
2026-07-28 17:41:53 +02:00
parent 33448dfda1
commit 0ad62f2426
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ func NewHandler(store Store) *Handler {
// createRequest : entrée publique (formulaire vitrine). Validation stricte.
type createRequest struct {
Telegram string `json:"company" binding:"required,min=2,max=120"`
Telegram string `json:"telegram" binding:"required,min=2,max=120"`
Message string `json:"message" binding:"max=2000"`
}
+1 -1
View File
@@ -46,7 +46,7 @@ export type Role = 'admin' | 'client'
export interface Lead {
id: string
Telegram: string
telegram: string
message?: string
status: string
created_at: string