typo fixed

This commit is contained in:
mhsanaei
2024-07-10 20:56:38 +02:00
parent 038faf0197
commit 19a7a8574c
11 changed files with 31 additions and 31 deletions

View File

@@ -214,7 +214,7 @@ func (a *InboundController) resetClientTraffic(c *gin.Context) {
jsonMsg(c, "Something went wrong!", err)
return
}
jsonMsg(c, "traffic reseted", nil)
jsonMsg(c, "traffic has been reset", nil)
if needRestart {
a.xrayService.SetToNeedRestart()
}
@@ -228,7 +228,7 @@ func (a *InboundController) resetAllTraffics(c *gin.Context) {
} else {
a.xrayService.SetToNeedRestart()
}
jsonMsg(c, "All traffics reseted", nil)
jsonMsg(c, "All traffics has been reset", nil)
}
func (a *InboundController) resetAllClientTraffics(c *gin.Context) {
@@ -245,7 +245,7 @@ func (a *InboundController) resetAllClientTraffics(c *gin.Context) {
} else {
a.xrayService.SetToNeedRestart()
}
jsonMsg(c, "All traffics of client reseted", nil)
jsonMsg(c, "All traffics of client has been reset", nil)
}
func (a *InboundController) delDepletedClients(c *gin.Context) {
@@ -259,7 +259,7 @@ func (a *InboundController) delDepletedClients(c *gin.Context) {
jsonMsg(c, "Something went wrong!", err)
return
}
jsonMsg(c, "All delpeted clients are deleted", nil)
jsonMsg(c, "All depleted clients are deleted", nil)
}
func (a *InboundController) importInbound(c *gin.Context) {
@@ -292,5 +292,5 @@ func (a *InboundController) importInbound(c *gin.Context) {
}
func (a *InboundController) onlines(c *gin.Context) {
jsonObj(c, a.inboundService.GetOnlineClinets(), nil)
jsonObj(c, a.inboundService.GetOnlineClients(), nil)
}