Skip to content

Commit 8b5c95d

Browse files
committed
Add Schema parameter to API endpoint requests
1 parent 7c4c181 commit 8b5c95d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

handler_api_endpoint.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ func (a *autocompleteListEndpoint[TTx]) Execute(ctx context.Context, req *autoco
114114
Exclude: req.Exclude,
115115
Match: match,
116116
Max: 100,
117+
Schema: a.Client.Schema(),
117118
})
118119
if err != nil {
119120
return nil, fmt.Errorf("error listing job kinds: %w", err)
@@ -133,6 +134,7 @@ func (a *autocompleteListEndpoint[TTx]) Execute(ctx context.Context, req *autoco
133134
Exclude: req.Exclude,
134135
Match: match,
135136
Max: 100,
137+
Schema: a.Client.Schema(),
136138
})
137139
if err != nil {
138140
return nil, fmt.Errorf("error listing queue names: %w", err)

0 commit comments

Comments
 (0)