Skip to content

Commit

Permalink
Merge pull request #21 from Enigmatis/fix-types-in-typeorm
Browse files Browse the repository at this point in the history
Fix types in typeorm
  • Loading branch information
itaykl authored Dec 16, 2019
2 parents b6c7e1d + 087e276 commit 0900ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connections/create-connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export async function createPolarisConnection(
? Object.assign(options.extra, configObj)
: Object.assign(options, { extra: configObj });
Object.assign(options, {
subscribers: [path.resolve(__dirname, '../') + '/subscribers/*.ts', options.subscribers],
subscribers: ['src/subscribers/*.ts', 'src/subscribers/*.js', options.subscribers],
});
const connection = await createConnection(options);
Object.defineProperty(connection, 'manager', { value: new PolarisEntityManager(connection) });
Expand Down

0 comments on commit 0900ef3

Please sign in to comment.