diff options
| author | Azavax <21226881+azavaxhuman@users.noreply.github.com> | 2025-07-23 00:43:48 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-23 00:43:48 +0300 |
| commit | b1ab156e42ed0e68b49e89df45d44b6ad0ea02ff (patch) | |
| tree | e4ffb3297e38afaf54e625065ab2886b25f5fc1c /web/controller/api.go | |
| parent | fa45bf87de469f9e7f79c90b4381de5b9e4f58d2 (diff) | |
Endpoint for updating client traffic by email (#3259)
* Update api.go
* Update inbound.go
* Update inbound.go
Diffstat (limited to 'web/controller/api.go')
| -rw-r--r-- | web/controller/api.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/controller/api.go b/web/controller/api.go index 9944e2a3..636035ba 100644 --- a/web/controller/api.go +++ b/web/controller/api.go @@ -47,6 +47,7 @@ func (a *APIController) initRouter(g *gin.RouterGroup) { {"POST", "/resetAllClientTraffics/:id", a.inboundController.resetAllClientTraffics}, {"POST", "/delDepletedClients/:id", a.inboundController.delDepletedClients}, {"POST", "/onlines", a.inboundController.onlines}, + {"POST", "/updateClientTraffic/:email", a.inboundController.updateClientTraffic}, } for _, route := range inboundRoutes { |
