feat: added tests for getFileById method. fix: refactor getApiResponse and TryToGetMessage methods in ApiResponseFactory class to be able to return the proper string message when the responseType passed to axios was 'stream'

This commit is contained in:
Stevan Freeborn
2023-02-16 16:57:52 -06:00
parent 4370574bbd
commit ee5aaf3c1f
5 changed files with 244 additions and 27 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
},
"license": "MIT",
"engines": {
"node": ">=18.14.0"
"node": ">=12.0.0"
},
"main": "dist/cjs/index.js",
"types": "dist/index.d.ts",