Skip to content

Commit 9f7c074

Browse files
fix(search): return SearchResult type (#48)
* fix: search to return SearchResult type
1 parent 217fe12 commit 9f7c074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export async function search(criteria: SearchCriteria, options?: SearchOptions)
8787
query.searchParams.set("maintenance", String(utils.clamp(maintenance, 0, 1)));
8888
}
8989

90-
const { data } = await httpie.get(query, {
90+
const { data } = await httpie.get<SearchResult>(query, {
9191
agent: getHttpAgent(),
9292
authorization: options?.token
9393
});

0 commit comments

Comments
 (0)