From ac52340c516f780aad121235fd41cca3f0f0e452 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Mon, 10 Apr 2023 09:53:59 +0200 Subject: [PATCH] #176 --- database/model/model.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/database/model/model.go b/database/model/model.go index c1079914..bf555515 100644 --- a/database/model/model.go +++ b/database/model/model.go @@ -74,7 +74,7 @@ type Client struct { Email string `json:"email"` TotalGB int64 `json:"totalGB" form:"totalGB"` ExpiryTime int64 `json:"expiryTime" form:"expiryTime"` - Enable bool `json:"enable" from:"enable"` - TgID string `json:"tgId" from:"tgId"` - SubID string `json:"subId" from:"subId"` + Enable bool `json:"enable" form:"enable"` + TgID string `json:"tgId" form:"tgId"` + SubID string `json:"subId" form:"subId"` }