mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
chore(deps): update all non-major dependencies (#2926)
* chore(deps): update all non-major dependencies * fix: correct breaking changes Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: sct <ryan@sct.dev>
This commit is contained in:
@@ -34,7 +34,7 @@ const dataSource = new DataSource(
|
||||
process.env.NODE_ENV !== 'production' ? devConfig : prodConfig
|
||||
);
|
||||
|
||||
export const getRepository = <Entity>(
|
||||
export const getRepository = <Entity extends object>(
|
||||
target: EntityTarget<Entity>
|
||||
): Repository<Entity> => {
|
||||
return dataSource.getRepository(target);
|
||||
|
Reference in New Issue
Block a user