diff --git a/bridge b/bridge index 14c8bbc..2e26987 100755 Binary files a/bridge and b/bridge differ diff --git a/cmd/bridge/main.go b/cmd/bridge/main.go index 7bcc68f..a4534f8 100644 --- a/cmd/bridge/main.go +++ b/cmd/bridge/main.go @@ -228,7 +228,7 @@ func (b *bridge) handle(w http.ResponseWriter, r *http.Request) { if err := b.glpi.followup(tid, fu); err != nil { log.Printf("followup failed (continuing to solve): %v", err) } - if err := b.glpi.do("POST", fmt.Sprintf("/Ticket/%d", tid), map[string]any{"input": map[string]any{"status": 11}}, nil); err != nil { // 11 = solved + if err := b.glpi.do("POST", fmt.Sprintf("/Ticket/%d", tid), map[string]any{"input": map[string]any{"status": 5}}, nil); err != nil { // 11 = solved log.Printf("solve failed: %v", err) } }()