safe add handler
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-10 11:43:57 +11:00
parent 0273f62611
commit 7b11958658
3 changed files with 78 additions and 0 deletions

View File

@@ -260,6 +260,7 @@ func main() {
// Other functions for admin
adminOnly.POST("/unlock", controllers.Unlock)
adminOnly.GET("/safe/listall", controllers.GetAllSafesHandler)
adminOnly.GET("/safe/add", controllers.AddSafeHandler)
// Deprecated
//adminOnly.GET("/roles", controllers.GetRoles)