collect submit source

This commit is contained in:
Robin Olsen
2026-03-24 12:32:57 +01:00
parent fc10321430
commit 6808ed3bbe
14 changed files with 300 additions and 63 deletions

View File

@@ -4,6 +4,7 @@ import (
"time"
"github.com/LazyBachelor/LazyPM/internal/commands/issues"
"github.com/LazyBachelor/LazyPM/internal/models"
"github.com/spf13/cobra"
)
@@ -24,7 +25,7 @@ func runStatusCmd(cmd *cobra.Command, args []string) error {
if app.SubmitChan != nil {
select {
case app.SubmitChan <- struct{}{}:
case app.SubmitChan <- models.ValidationTrigger{Source: models.ValidationTriggerStatusCheck}:
default:
}
}