implement group delete
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-10 10:43:38 +11:00
parent f8000b749e
commit b828416811
3 changed files with 88 additions and 7 deletions

View File

@@ -251,8 +251,8 @@ func main() {
//adminOnly.POST("/user/update", controllers.UpdateUser)
// Group functions for admin
adminOnly.GET("/groups", controllers.GetGroups)
adminOnly.POST("/group/add", controllers.AddGroup)
adminOnly.GET("/groups", controllers.GetGroupsHandler)
adminOnly.POST("/group/add", controllers.AddGroupHandler)
// TODO
//adminOnly.POST("/group/update", controllers.UpdateGroup)
//adminOnly.POST("/group/delete", controllers.DeleteGroup)