File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -232,19 +232,25 @@ function _autoloadDatabaseIntegrations(): void {
232
232
233
233
const packageToIntegrationMapping : Record < string , ( ) => Integration > = {
234
234
mongodb ( ) {
235
- const integration = dynamicRequire ( module , './integrations/mongo' ) as { Mongo : IntegrationClass < Integration > } ;
235
+ const integration = dynamicRequire ( module , './integrations/node/mongo' ) as {
236
+ Mongo : IntegrationClass < Integration > ;
237
+ } ;
236
238
return new integration . Mongo ( ) ;
237
239
} ,
238
240
mongoose ( ) {
239
- const integration = dynamicRequire ( module , './integrations/mongo' ) as { Mongo : IntegrationClass < Integration > } ;
241
+ const integration = dynamicRequire ( module , './integrations/node/mongo' ) as {
242
+ Mongo : IntegrationClass < Integration > ;
243
+ } ;
240
244
return new integration . Mongo ( { mongoose : true } ) ;
241
245
} ,
242
246
mysql ( ) {
243
- const integration = dynamicRequire ( module , './integrations/mysql' ) as { Mysql : IntegrationClass < Integration > } ;
247
+ const integration = dynamicRequire ( module , './integrations/node/mysql' ) as {
248
+ Mysql : IntegrationClass < Integration > ;
249
+ } ;
244
250
return new integration . Mysql ( ) ;
245
251
} ,
246
252
pg ( ) {
247
- const integration = dynamicRequire ( module , './integrations/postgres' ) as {
253
+ const integration = dynamicRequire ( module , './integrations/node/ postgres' ) as {
248
254
Postgres : IntegrationClass < Integration > ;
249
255
} ;
250
256
return new integration . Postgres ( ) ;
You can’t perform that action at this time.
0 commit comments