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