fix: test formatting

This commit is contained in:
StevanFreeborn
2023-02-01 23:48:36 -06:00
parent e6cde7fbe7
commit f060c7d849
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"format": "npx prettier --write .",
"format": "pretty-quick",
"build": "npm run tests && tsc",
"tests": "mocha -R progress -r ts-node/register ./tests/**/*.spec.ts",
"test": "mocha -r ts-node/register",
+2 -2
View File
@@ -102,8 +102,8 @@ export class OnspringClient {
endpoint: string,
config: AxiosRequestConfig = {}
): Promise<ApiResponse<T>> {
const response = await this._client.get(endpoint, config);
const apiResponse = ApiResponseFactory.getApiResponse<T>(response);
const response = await this._client.get(endpoint, config);
const apiResponse = ApiResponseFactory.getApiResponse<T>(response);
return apiResponse;
}
}