mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +00:00
update profile api (#16)
* update profile api * rename * fix realip assertion * add waf api
This commit is contained in:
@@ -116,8 +116,8 @@ func batchDeleteServer(c *gin.Context) (any, error) {
|
||||
delete(singleton.AlertsCycleTransferStatsStore[alert.ID].NextUpdate, sid)
|
||||
}
|
||||
}
|
||||
singleton.DB.Unscoped().Delete(&model.Transfer{}, "server_id = ?", sid)
|
||||
}
|
||||
singleton.DB.Unscoped().Delete(&model.Transfer{}, "server_id in (?)", servers)
|
||||
singleton.AlertsLock.Unlock()
|
||||
|
||||
singleton.OnServerDelete(servers)
|
||||
|
||||
Reference in New Issue
Block a user