diff --git a/src/MyInfoGovClient.class.ts b/src/MyInfoGovClient.class.ts index 9bf96b9..02793f5 100644 --- a/src/MyInfoGovClient.class.ts +++ b/src/MyInfoGovClient.class.ts @@ -215,7 +215,6 @@ export class MyInfoGovClient { response = await axios.get(url, { headers, params, - paramsSerializer: qs.stringify, }) } catch (err: unknown) { throw new MyInfoResponseError(err) diff --git a/test/unit/MyInfoGovClient.test.ts b/test/unit/MyInfoGovClient.test.ts index 4b73e0d..87e2092 100644 --- a/test/unit/MyInfoGovClient.test.ts +++ b/test/unit/MyInfoGovClient.test.ts @@ -397,7 +397,6 @@ describe('MyInfoGovClient', () => { expect(MockAxios.get).toHaveBeenCalledWith(expectedUrl, { params: expectedQueryParamsObj, - paramsSerializer: expect.any(Function), headers: { 'Cache-Control': 'no-cache', Authorization: expect.any(String), @@ -431,7 +430,6 @@ describe('MyInfoGovClient', () => { expect(MockAxios.get).toHaveBeenCalledWith(expectedUrl, { params: expectedQueryParamsObj, - paramsSerializer: expect.any(Function), headers: { 'Cache-Control': 'no-cache', Authorization: expect.any(String), @@ -567,7 +565,6 @@ describe('MyInfoGovClient', () => { expect(MockAxios.get).toHaveBeenCalledWith(expectedUrl, { params: expectedQueryParamsObj, - paramsSerializer: expect.any(Function), headers: { 'Cache-Control': 'no-cache', Authorization: expect.any(String), @@ -626,7 +623,6 @@ describe('MyInfoGovClient', () => { expect(MockAxios.get).toHaveBeenCalledWith(expectedUrl, { params: expectedQueryParamsObj, - paramsSerializer: expect.any(Function), headers: { 'Cache-Control': 'no-cache', Authorization: expect.any(String),