Skip to content

Commit 1a3d16a

Browse files
bugfix(common): registerAsync incorrectly sets Axios instance nestjs#1849
1 parent ca110df commit 1a3d16a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

packages/common/http/http.module.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ export class HttpModule {
5656
provide: HTTP_MODULE_ID,
5757
useValue: randomStringGenerator(),
5858
},
59-
{
60-
provide: AXIOS_INSTANCE_TOKEN,
61-
useValue: (config: HttpModuleOptions) => Axios.create(config),
62-
inject: [HTTP_MODULE_OPTIONS],
63-
},
6459
...(options.extraProviders || []),
6560
],
6661
};

0 commit comments

Comments
 (0)