mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Add server API to abuse messages
This commit is contained in:
parent
20516920d2
commit
edbc932546
28 changed files with 1054 additions and 209 deletions
|
@ -5,7 +5,7 @@ import { join } from 'path'
|
|||
import { VideoChannelModel } from '@server/models/video/video-channel'
|
||||
import { MVideoBlacklistLightVideo, MVideoBlacklistVideo } from '@server/types/models/video/video-blacklist'
|
||||
import { MVideoImport, MVideoImportVideo } from '@server/types/models/video/video-import'
|
||||
import { Abuse, EmailPayload } from '@shared/models'
|
||||
import { UserAbuse, EmailPayload } from '@shared/models'
|
||||
import { SendEmailOptions } from '../../shared/models/server/emailer.model'
|
||||
import { isTestInstance, root } from '../helpers/core-utils'
|
||||
import { bunyanLogger, logger } from '../helpers/logger'
|
||||
|
@ -283,7 +283,7 @@ class Emailer {
|
|||
}
|
||||
|
||||
addAbuseModeratorsNotification (to: string[], parameters: {
|
||||
abuse: Abuse
|
||||
abuse: UserAbuse
|
||||
abuseInstance: MAbuseFull
|
||||
reporter: string
|
||||
}) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue