diff --git a/plugins/notifier-mixin/src/main.ts b/plugins/notifier-mixin/src/main.ts index c7cdc55fb..989d9cb74 100644 --- a/plugins/notifier-mixin/src/main.ts +++ b/plugins/notifier-mixin/src/main.ts @@ -17,8 +17,8 @@ async function audioFetch(body: string): Promise { var memoizedAudioFetch = memoizeOne(audioFetch); class NotifierMixin extends MixinDeviceBase implements Notifier { - constructor(mixinDevice: MediaPlayer, mixinDeviceInterfaces: ScryptedInterface[], mixinDeviceState: { [key: string]: any }, providerNativeId: string) { - super(mixinDevice, mixinDeviceInterfaces, mixinDeviceState, providerNativeId); + constructor(mixinDevice: MediaPlayer, mixinDeviceInterfaces: ScryptedInterface[], mixinDeviceState: { [key: string]: any }, mixinProviderNativeId: string) { + super({mixinDevice, mixinDeviceInterfaces, mixinDeviceState, mixinProviderNativeId}); } async sendNotification(title: string, body: string, media: string | MediaObject, mimeType: string): Promise {