Bump ts-rest

This commit is contained in:
jeffvli 2023-06-03 03:51:44 -07:00
parent f58552be84
commit 5295c69f46
6 changed files with 19 additions and 12 deletions

View file

@ -266,6 +266,7 @@ export const ndApiClient = (args: {
});
return {
body: { data: result.data, headers: result.headers },
headers: result.headers as any,
status: result.status,
};
} catch (e: Error | AxiosError | any) {
@ -274,6 +275,7 @@ export const ndApiClient = (args: {
const response = error.response as AxiosResponse;
return {
body: { data: response.data, headers: response.headers },
headers: response.headers as any,
status: response.status,
};
}