From 9ce3a034f5c4b49ab3a56035f9f616fda835a309 Mon Sep 17 00:00:00 2001 From: Kamil Mysliwiec Date: Sat, 2 Apr 2022 18:23:14 +0200 Subject: [PATCH] Update lib/common/typeorm.decorators.ts --- lib/common/typeorm.decorators.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/typeorm.decorators.ts b/lib/common/typeorm.decorators.ts index 47176a3fc..9734dd0eb 100644 --- a/lib/common/typeorm.decorators.ts +++ b/lib/common/typeorm.decorators.ts @@ -13,7 +13,7 @@ export const InjectRepository = ( dataSource: string = DEFAULT_DATA_SOURCE_NAME, ): ReturnType => Inject(getRepositoryToken(entity, dataSource)); -export const InjectdataSource: ( +export const InjectDataSource: ( dataSource?: DataSource | DataSourceOptions | string, ) => ReturnType = ( dataSource?: DataSource | DataSourceOptions | string,