mirror of
https://github.com/iptv-org/iptv
synced 2025-12-23 13:57:31 -05:00
Update scripts
This commit is contained in:
@@ -5,13 +5,13 @@ type BlockedProps = {
|
||||
}
|
||||
|
||||
export class Blocked {
|
||||
channel: string
|
||||
channelId: string
|
||||
reason: string
|
||||
ref: string
|
||||
|
||||
constructor({ ref, reason, channel }: BlockedProps) {
|
||||
this.channel = channel
|
||||
this.reason = reason
|
||||
this.ref = ref
|
||||
constructor(data: BlockedProps) {
|
||||
this.channelId = data.channel
|
||||
this.reason = data.reason
|
||||
this.ref = data.ref
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user