added validaton for assigning users to events

This commit is contained in:
z1glr
2025-01-27 22:48:18 +00:00
parent 553928062f
commit 89ec2312f8
5 changed files with 38 additions and 14 deletions

View File

@@ -146,10 +146,10 @@ func init() {
args.Status = fiber.StatusUnauthorized
logger.Log().Msgf("user not authorized")
} else {
handler(&args)
}
handler(&args)
return args.send(c)
})
}