fix GET to POST
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-10 11:46:44 +11:00
parent 7b11958658
commit cef741f2d8

View File

@@ -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)