From d74b39b9cffb282fceb77bb76dbc59a4ab723b45 Mon Sep 17 00:00:00 2001 From: Ho3ein Date: Mon, 10 Apr 2023 20:33:19 +0330 Subject: [PATCH] API bug fixed --- web/controller/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/controller/api.go b/web/controller/api.go index f3021ea4..c64b27bf 100644 --- a/web/controller/api.go +++ b/web/controller/api.go @@ -17,7 +17,7 @@ func (a *APIController) initRouter(g *gin.RouterGroup) { g = g.Group("/xui/API/inbounds") g.Use(a.checkLogin) - g.POST("/list", a.getAllInbounds) + g.GET("/list", a.getAllInbounds) g.GET("/get/:id", a.getSingleInbound) g.POST("/add", a.addInbound) g.POST("/del/:id", a.delInbound)