mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 02:43:33 +00:00
Bump ts-rest
This commit is contained in:
parent
f58552be84
commit
5295c69f46
6 changed files with 19 additions and 12 deletions
|
|
@ -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,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue