fix test
This commit is contained in:
parent
cfc357a24c
commit
861f37b7c6
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ func NewQQChannel(cfg config.QQConfig, messageBus *bus.MessageBus) (*QQChannel,
|
|||
}
|
||||
|
||||
func (c *QQChannel) Start(ctx context.Context) error {
|
||||
if c.config.AppID == "" || c.config.AppSecret.IsZero() {
|
||||
if c.config.AppID == "" || c.config.AppSecret.String() == "" {
|
||||
return fmt.Errorf("QQ app_id and app_secret not configured")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue