fix: fixup leads
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user