added validaton for assigning users to events
This commit is contained in:
@@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user