mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
fix(notifications): correctly send tv auto approval notifications
fixes #1041
This commit is contained in:
@@ -283,9 +283,7 @@ requestRoutes.post(
|
|||||||
|
|
||||||
const request = new MediaRequest({
|
const request = new MediaRequest({
|
||||||
type: MediaType.TV,
|
type: MediaType.TV,
|
||||||
media: {
|
media,
|
||||||
id: media.id,
|
|
||||||
} as Media,
|
|
||||||
requestedBy: requestUser,
|
requestedBy: requestUser,
|
||||||
// If the user is an admin or has the "auto approve" permission, automatically approve the request
|
// If the user is an admin or has the "auto approve" permission, automatically approve the request
|
||||||
status:
|
status:
|
||||||
|
Reference in New Issue
Block a user