Skip to content

Commit

Permalink
Removed Union type in getInspections function
Browse files Browse the repository at this point in the history
  • Loading branch information
dlymonkai committed Nov 14, 2024
1 parent 333b427 commit a09e0b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/network/src/api/inspection/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export async function getInspections(
options: GetInspectionsOptions,
config: MonkApiConfig,
dispatch?: Dispatch<MonkGotOneInspectionAction>,
): Promise<MonkApiResponse | MonkApiResponse<GetInspectionResponse, ApiInspectionsGet>> {
): Promise<MonkApiResponse<GetInspectionResponse, ApiInspectionsGet>> {
const kyOptions = getDefaultOptions(config);
const response = await ky.get(`inspections${mapApiInspectionsUrlParamsGet(options)}`, kyOptions);
const body = await response.json<ApiInspectionsGet>();
Expand Down

0 comments on commit a09e0b0

Please sign in to comment.