diff --git a/controller/channel-test.go b/controller/channel-test.go index 0d32c8c6..0ae256f9 100644 --- a/controller/channel-test.go +++ b/controller/channel-test.go @@ -134,6 +134,9 @@ func disableChannel(channelId int, channelName string, reason string) { } func testAllChannels(c *gin.Context) error { + if common.RootUserEmail == "" { + common.RootUserEmail = model.GetRootUserEmail() + } testAllChannelsLock.Lock() if testAllChannelsRunning { testAllChannelsLock.Unlock()