fix(notifications): correctly send tv auto approval notifications

fixes #1041
This commit is contained in:
sct
2021-02-27 10:00:58 +00:00
parent e9f2fe910d
commit 537850f414

View File

@@ -283,9 +283,7 @@ requestRoutes.post(
const request = new MediaRequest({
type: MediaType.TV,
media: {
id: media.id,
} as Media,
media,
requestedBy: requestUser,
// If the user is an admin or has the "auto approve" permission, automatically approve the request
status: