mirror of
https://github.com/pushbits/server.git
synced 2025-06-06 12:41:59 +02:00
Implement deletion of applications
This commit is contained in:
parent
653e57fe03
commit
18d11677ac
7 changed files with 80 additions and 9 deletions
|
@ -29,7 +29,7 @@ func Create(db *database.Database, dp *dispatcher.Dispatcher) *gin.Engine {
|
|||
applicationGroup.Use(auth.RequireUser())
|
||||
{
|
||||
applicationGroup.POST("", applicationHandler.CreateApplication)
|
||||
//applicationGroup.DELETE("/:id", applicationHandler.DeleteApplication)
|
||||
applicationGroup.DELETE("/:id", applicationHandler.DeleteApplication)
|
||||
}
|
||||
|
||||
r.POST("/message", auth.RequireApplicationToken(), notificationHandler.CreateNotification)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue