Skip to content
Prev Previous commit
Next Next commit
Update lib/common/typeorm.decorators.ts
  • Loading branch information
kamilmysliwiec authored Apr 2, 2022
commit 9ce3a034f5c4b49ab3a56035f9f616fda835a309
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