small fixes and typos

This commit is contained in:
Alireza Ahmadi
2025-02-09 00:53:49 +01:00
parent ea6ceac2f2
commit 1c4a927e0d
7 changed files with 10 additions and 5 deletions
+3
View File
@@ -336,6 +336,9 @@ func (s *InboundService) RestartInbounds(tx *gorm.DB, ids []uint) error {
return err
}
inboundConfig, err = s.addUsers(tx, inboundConfig, inbound.Id, inbound.Type)
if err != nil {
return err
}
err = corePtr.AddInbound(inboundConfig)
if err != nil {
return err