Skip to content

Commit

Permalink
Update lib/common/typeorm.decorators.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec authored Apr 2, 2022
1 parent 42d0e92 commit 9ce3a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common/typeorm.decorators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const InjectRepository = (
dataSource: string = DEFAULT_DATA_SOURCE_NAME,
): ReturnType<typeof Inject> => Inject(getRepositoryToken(entity, dataSource));

export const InjectdataSource: (
export const InjectDataSource: (
dataSource?: DataSource | DataSourceOptions | string,
) => ReturnType<typeof Inject> = (
dataSource?: DataSource | DataSourceOptions | string,
Expand Down

0 comments on commit 9ce3a03

Please sign in to comment.