diff --git a/mixins/withAPI.ts b/mixins/withAPI.ts index 8b49847..0affef5 100644 --- a/mixins/withAPI.ts +++ b/mixins/withAPI.ts @@ -14,7 +14,7 @@ type APIClass = new (...args: any[]) => { api: AxiosInstance } -export function getAPIErrorMessage(error: AxiosError): string { +function getAPIErrorMessage(error: AxiosError): string { return error.message }