fuck backwards bool
parent
934a306bc9
commit
c4213e697d
|
|
@ -238,7 +238,7 @@ func (ntg NTGVision) workingHours(now time.Time) bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ntg NTGVision) SearchStates(states []config.State) ([]Job, error) {
|
func (ntg NTGVision) SearchStates(states []config.State) ([]Job, error) {
|
||||||
if ntg.workingHours(time.Now()) {
|
if !ntg.workingHours(time.Now()) {
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue