debug messages

main
nilo 2025-03-12 19:47:40 -03:00
parent 4649d9f36f
commit 17edaaff20
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ func OnPubStart(c *fiber.Ctx) error {
// Get the channel from the database
channel := services.GetChannelByName(p.StreamName)
log.Printf("======================== %v\n", channel)
// If the channel is not found, kick the session
if channel.ID == 0 {