mirror of
https://github.com/pushbits/server.git
synced 2025-05-18 11:26:36 +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 @@ type NotificationHandler struct {
|
|||
|
||||
// CreateNotification is used to create a new notification for a user.
|
||||
func (h *NotificationHandler) CreateNotification(ctx *gin.Context) {
|
||||
notification := model.Notification{}
|
||||
var notification model.Notification
|
||||
|
||||
if success := successOrAbort(ctx, http.StatusBadRequest, ctx.Bind(¬ification)); !success {
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue