mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-18 05:04:40 +03:00
small fixes #1300
This commit is contained in:
@@ -1004,7 +1004,8 @@ func (s *InboundService) GetInboundTags() (string, error) {
|
||||
if err != nil && err != gorm.ErrRecordNotFound {
|
||||
return "", err
|
||||
}
|
||||
return "[\"" + strings.Join(inboundTags, "\", \"") + "\"]", nil
|
||||
tags, _ := json.Marshal(inboundTags)
|
||||
return string(tags), nil
|
||||
}
|
||||
|
||||
func (s *InboundService) MigrationRemoveOrphanedTraffics() {
|
||||
|
||||
Reference in New Issue
Block a user