mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
build(deps): bump dependencies (#2796)
This commit is contained in:

committed by
GitHub

parent
821bb79d83
commit
0fa84eae8d
@@ -1,9 +1,10 @@
|
||||
import { sortBy } from 'lodash';
|
||||
import type { EntitySubscriberInterface, InsertEvent } from 'typeorm';
|
||||
import { EventSubscriber, getRepository } from 'typeorm';
|
||||
import { EventSubscriber } from 'typeorm';
|
||||
import TheMovieDb from '../api/themoviedb';
|
||||
import { IssueType, IssueTypeName } from '../constants/issue';
|
||||
import { MediaType } from '../constants/media';
|
||||
import { getRepository } from '../datasource';
|
||||
import IssueComment from '../entity/IssueComment';
|
||||
import Media from '../entity/Media';
|
||||
import notificationManager, { Notification } from '../lib/notifications';
|
||||
@@ -27,7 +28,7 @@ export class IssueCommentSubscriber
|
||||
const issue = (
|
||||
await getRepository(IssueComment).findOneOrFail({
|
||||
where: { id: entity.id },
|
||||
relations: ['issue'],
|
||||
relations: { issue: true },
|
||||
})
|
||||
).issue;
|
||||
|
||||
|
Reference in New Issue
Block a user