updated token storage

This commit is contained in:
2022-12-09 14:19:26 -06:00
parent 94f3ff9a26
commit b7c156d1e0
5 changed files with 46 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ func Run() {
private := r.Group("/")
private.Use(userIsAuthorized)
private.POST("/user", user) //change username/password (required before adding bots)
private.PATCH("/login", user) //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