debug messages
parent
4649d9f36f
commit
17edaaff20
|
|
@ -116,6 +116,7 @@ func OnPubStart(c *fiber.Ctx) error {
|
||||||
|
|
||||||
// Get the channel from the database
|
// Get the channel from the database
|
||||||
channel := services.GetChannelByName(p.StreamName)
|
channel := services.GetChannelByName(p.StreamName)
|
||||||
|
log.Printf("======================== %v\n", channel)
|
||||||
|
|
||||||
// If the channel is not found, kick the session
|
// If the channel is not found, kick the session
|
||||||
if channel.ID == 0 {
|
if channel.ID == 0 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue