format document

This commit is contained in:
mhsanaei 2025-05-06 18:21:57 +02:00
parent 8aa6edbf94
commit 33252b3be6
No known key found for this signature in database
GPG key ID: D875CD086CF668A0
2 changed files with 13 additions and 15 deletions

View file

@ -3,10 +3,10 @@ package service
import (
"encoding/json"
"fmt"
"sort"
"strconv"
"strings"
"time"
"sort"
"x-ui/database"
"x-ui/database/model"
@ -2027,7 +2027,6 @@ func (s *InboundService) GetOnlineClients() []string {
return p.GetOnlineClients()
}
func (s *InboundService) FilterAndSortClientEmails(emails []string) ([]string, []string, error) {
db := database.GetDB()

View file

@ -1075,7 +1075,6 @@ func (t *Tgbot) answerCallback(callbackQuery *telego.CallbackQuery, isAdmin bool
client_LimitIP = count
}
messageId := callbackQuery.Message.GetMessageID()
inbound, err := t.inboundService.GetInbound(receiver_inbound_ID)
if err != nil {