initial delete secret implementation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-09 13:33:51 +11:00
parent f45a0f3aeb
commit 92dcd67381
2 changed files with 162 additions and 99 deletions

View File

@@ -262,7 +262,7 @@ func main() {
protected.POST("/store", controllers.StoreSecret)
protected.POST("/update", controllers.UpdateSecret)
// TODO
//protected.POST("/delete", controllers.DeleteSecret)
protected.POST("/delete", controllers.DeleteSecret)
// Support parameters in path
// See https://gin-gonic.com/docs/examples/param-in-path/