Skip to content

Commit a139593

Browse files
committed
change serviceError props to axiosError
1 parent 1ca0649 commit a139593

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/templates/exportSaddlebackService.hbs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ export const fetch{{{../name}}}{{pascalCase name}} = async ({{> saddlebackParame
6868
} catch (error) {
6969
const axiosError = error as AxiosError;
7070

71-
serviceError({
72-
response: axiosError.response,
73-
});
71+
serviceError(error);
7472

7573
throw new Error('{{{../name}}}Service > {{name}}');
7674
}

0 commit comments

Comments
 (0)