chore: update
This commit is contained in:
@@ -36,6 +36,9 @@ func AlertPolice(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
// Notifier tous les admins/cabines en temps réel
|
||||
go database.NotifyAllAdminCabineAlert(alert.ID, usernameStr, req.Message)
|
||||
|
||||
c.JSON(200, gin.H{
|
||||
"success": true,
|
||||
"message": "Police alert created",
|
||||
|
||||
Reference in New Issue
Block a user