File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -232,19 +232,25 @@ function _autoloadDatabaseIntegrations(): void {
232232
233233 const packageToIntegrationMapping : Record < string , ( ) => Integration > = {
234234 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+ } ;
236238 return new integration . Mongo ( ) ;
237239 } ,
238240 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+ } ;
240244 return new integration . Mongo ( { mongoose : true } ) ;
241245 } ,
242246 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+ } ;
244250 return new integration . Mysql ( ) ;
245251 } ,
246252 pg ( ) {
247- const integration = dynamicRequire ( module , './integrations/postgres' ) as {
253+ const integration = dynamicRequire ( module , './integrations/node/ postgres' ) as {
248254 Postgres : IntegrationClass < Integration > ;
249255 } ;
250256 return new integration . Postgres ( ) ;
You can’t perform that action at this time.
0 commit comments