fuck backwards bool
This commit is contained in:
@@ -238,7 +238,7 @@ func (ntg NTGVision) workingHours(now time.Time) bool {
|
||||
}
|
||||
|
||||
func (ntg NTGVision) SearchStates(states []config.State) ([]Job, error) {
|
||||
if ntg.workingHours(time.Now()) {
|
||||
if !ntg.workingHours(time.Now()) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user