This commit is contained in:
AlteredCoder 2020-06-03 12:34:28 +02:00
parent d0e11a84e7
commit 9c1886465b

View file

@ -157,7 +157,7 @@ func (o *Output) ProcessOutput(sig types.SignalOccurence, profiles []types.Profi
log.Printf("Checking if can push to API totototo")
// if ApiPush is nil (not specified in profile configuration) we use global api config (from default.yaml)
if profile.ApiPush == nil {
if profile.ApiPush == nil || *profile.ApiPush == true {
log.Printf("profile configured to push in API totototo")
if o.API != nil { // if API is not nil, we can push
log.Printf("Can append signal to API totototo")