This commit is contained in:
Alireza Ahmadi committed 2023-12-08 19:44:52 +01:00
1 parent 68ee4e003c
commit e5fc20b8ae
4 files changed
+16 -19

No files matched your search

+2 -1
View File
@@ -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() {