Skip to content

Commit

Permalink
server: findPluginDevice is not optional
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Sep 6, 2024
1 parent e23c9c2 commit 1e1fda6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ export class ScryptedRuntime extends PluginHttp<HttpPluginData> {
return pluginHost;
}

findPluginDevice?(pluginId: string, nativeId?: ScryptedNativeId): PluginDevice {
findPluginDevice(pluginId: string, nativeId?: ScryptedNativeId): PluginDevice {
// JSON stringify over rpc turns undefined into null.
if (nativeId === null)
nativeId = undefined;
Expand Down

0 comments on commit 1e1fda6

Please sign in to comment.