From 476f613815f172e0652614c9b0ea29118d68ce1d Mon Sep 17 00:00:00 2001 From: ISSEI <46990203+MosaIssei@users.noreply.github.com> Date: Tue, 28 Mar 2023 09:55:49 +0330 Subject: [PATCH] Update tgbot.go --- web/service/tgbot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = "خیر"