Merge pull request #558 from automatisch/fix/typo

fix: Typo for the http client creation method
This commit is contained in:
Ömer Faruk Aydın 2022-10-06 00:30:01 +03:00 committed by GitHub
commit 0abab06124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ import axios from 'axios';
export { AxiosInstance as IHttpClient } from 'axios';
import { IHttpClientParams } from '@automatisch/types';
export default function createcreateHttpClient({ baseURL, }: IHttpClientParams) {
export default function createHttpClient({ baseURL }: IHttpClientParams) {
const instance = axios.create({
baseURL,
});