build(deps): bump dependencies (#2796)

This commit is contained in:
Danshil Kokil Mungur
2022-08-17 15:43:35 +04:00
committed by GitHub
parent 821bb79d83
commit 0fa84eae8d
29 changed files with 2251 additions and 2425 deletions

View File

@@ -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;