fix
This commit is contained in:
parent
1d5422dd35
commit
d9484e28ca
|
@ -42,7 +42,10 @@ func NewClient(config Config) (*Client, error) {
|
|||
}
|
||||
|
||||
// Init schedule
|
||||
initSchedule()
|
||||
if config.IsScheduled {
|
||||
initSchedule()
|
||||
}
|
||||
|
||||
return client, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue