fixed login

This commit is contained in:
2022-12-09 20:06:43 -06:00
parent b7c156d1e0
commit 8df6231b71
4 changed files with 25 additions and 28 deletions

View File

@@ -15,7 +15,7 @@ func Run() {
private := r.Group("/")
private.Use(userIsAuthorized)
private.PATCH("/login", user) //change username/password (required before adding bots)
private.PATCH("/login", updateLogin) //change username/password (required before adding bots)
private.GET("/bots", func(c *gin.Context) {}) //generalized list of bots
private.GET("/bot/:bot", func(c *gin.Context) {}) //specific bot