fix return types

This commit is contained in:
2026-01-11 22:46:56 +08:00
parent 409a114532
commit 6bc93a2476
2 changed files with 79 additions and 83 deletions

View File

@@ -173,7 +173,7 @@ func (c *HTTPClient) fetchWorkflowJobs(ctx context.Context, endpoint, authToken
for {
u, err := url.Parse(endpoint)
if err != nil {
return 0, err
return nil, err
}
q := u.Query()
q.Set("status", status)