From b63d59effb8f5be4ae98f8eba3e956ee15caa148 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Mon, 7 Mar 2022 08:42:28 -0800 Subject: [PATCH] nofifier-mixin: update --- plugins/notifier-mixin/src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {