This commit is contained in:
Javad Tinatpak 2024-08-06 16:47:24 +03:30
parent b3e1052c61
commit 16ed53ef31

View file

@ -261,9 +261,7 @@ func (a *InboundController) updateClientInMultipleInbounds(c *gin.Context) {
}
}
needRestart := true
needRestart, err = a.inboundService.UpdateClientInMultipleInbounds(data, subId, payload.InboundIds)
needRestart, err := a.inboundService.UpdateClientInMultipleInbounds(data, subId, payload.InboundIds)
if err != nil {
jsonMsg(c, "Something went wrong!", err)
return