diff --git a/web/service/tgbot.go b/web/service/tgbot.go index ea7899e8..4a66f46f 100644 --- a/web/service/tgbot.go +++ b/web/service/tgbot.go @@ -388,7 +388,7 @@ func (t *Tgbot) getClientUsage(chatId int64, tgUserName string) { total = common.FormatTraffic((traffic.Total)) } Enable := "" - if traffic.Enable == "true"{ + if traffic.Enable == true{ Enable = "بله" } else { Enable = "خیر"