This commit is contained in:
2
main.go
2
main.go
@@ -260,7 +260,7 @@ func main() {
|
|||||||
// Other functions for admin
|
// Other functions for admin
|
||||||
adminOnly.POST("/unlock", controllers.Unlock)
|
adminOnly.POST("/unlock", controllers.Unlock)
|
||||||
adminOnly.GET("/safe/listall", controllers.GetAllSafesHandler)
|
adminOnly.GET("/safe/listall", controllers.GetAllSafesHandler)
|
||||||
adminOnly.GET("/safe/add", controllers.AddSafeHandler)
|
adminOnly.POST("/safe/add", controllers.AddSafeHandler)
|
||||||
|
|
||||||
// Deprecated
|
// Deprecated
|
||||||
//adminOnly.GET("/roles", controllers.GetRoles)
|
//adminOnly.GET("/roles", controllers.GetRoles)
|
||||||
|
Reference in New Issue
Block a user