fix wrong mix of new current ids

This commit is contained in:
Adrian Zürcher
2025-11-04 08:24:27 +01:00
parent 25f965cd72
commit e3870de7d5
2 changed files with 4 additions and 4 deletions

View File

@@ -146,7 +146,7 @@ func (a *APIHandler) DeleteAttendee(c *gin.Context) {
err = a.DbHandler.DeleteAttendeesFromEvent(event)
if err != nil {
a.logger.Error("DeleteAttendeesFromEvent", err)
a.logger.Error("DeleteAttendee", err)
c.JSON(http.StatusInternalServerError, gin.H{
"message": err.Error(),
})