mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-12 13:10:05 +00:00
Update inbound.go
Remove duplicate code
This commit is contained in:
parent
3cc3062f8b
commit
4f48af5586
1 changed files with 0 additions and 6 deletions
|
@ -1015,12 +1015,6 @@ func (s *InboundService) adjustTraffics(tx *gorm.DB, dbClientTraffics []*xray.Cl
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Remove "flow": "xtls-rprx-direct"
|
|
||||||
if _, ok := c["flow"]; ok {
|
|
||||||
if c["flow"] == "xtls-rprx-direct" {
|
|
||||||
c["flow"] = ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Backfill created_at and updated_at
|
// Backfill created_at and updated_at
|
||||||
if _, ok := c["created_at"]; !ok {
|
if _, ok := c["created_at"]; !ok {
|
||||||
c["created_at"] = time.Now().Unix() * 1000
|
c["created_at"] = time.Now().Unix() * 1000
|
||||||
|
|
Loading…
Reference in a new issue