improve README
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-09 15:28:38 +11:00
parent 43fa0b02aa
commit 00f87ccb71
3 changed files with 41 additions and 35 deletions

View File

@@ -246,6 +246,7 @@ func main() {
adminOnly.POST("/user/add", controllers.RegisterUser)
// TODO
//adminOnly.POST("/user/update", controllers.UpdateUser)
//adminOnly.GET("/groups/list", controllers.ListGroups)
adminOnly.GET("/users", controllers.GetUsers)
adminOnly.POST("/unlock", controllers.Unlock)
@@ -258,7 +259,7 @@ func main() {
protected.Use(middlewares.JwtAuthMiddleware())
protected.POST("/retrieve", controllers.RetrieveSecret)
protected.GET("/list", controllers.ListSecrets)
protected.POST("/retrieveMultiple", controllers.RetrieveMultpleSecrets)
protected.POST("/retrieveMultiple", controllers.RetrieveMultpleSecrets) // TODO is this still required?
protected.POST("/store", controllers.StoreSecret)
protected.POST("/update", controllers.UpdateSecret)
// TODO