mirror of
https://github.com/pushbits/server.git
synced 2025-06-08 21:51:59 +02:00
Add application IDs to debugging output
This commit is contained in:
parent
af3b21523f
commit
47fd9441cd
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ func (h *ApplicationHandler) createApplication(ctx *gin.Context, name string, u
|
|||
}
|
||||
|
||||
func (h *ApplicationHandler) deleteApplication(ctx *gin.Context, a *model.Application, u *model.User) error {
|
||||
log.Printf("Deleting application %s.\n", a.Name)
|
||||
log.Printf("Deleting application %s (ID %d).\n", a.Name, a.ID)
|
||||
|
||||
err := h.DP.DeregisterApplication(a, u)
|
||||
if success := successOrAbort(ctx, http.StatusInternalServerError, err); !success {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue