server: fix bug where entire plugin was being sent rather than only the id.

This commit is contained in:
Koushik Dutta
2022-01-12 07:51:07 -08:00
parent 94a61e247e
commit e09c7c62ce
3 changed files with 4 additions and 4 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/server",
"version": "0.0.122",
"version": "0.0.123",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/server",
"version": "0.0.122",
"version": "0.0.123",
"license": "ISC",
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.5",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/server",
"version": "0.0.122",
"version": "0.0.123",
"description": "",
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.5",

View File

@@ -86,7 +86,7 @@ export class PluginComponent {
stats: host?.stats,
rpcObjects,
packageJson: plugin.packageJson,
id: this.scrypted.findPluginDevice(pluginId),
id: this.scrypted.findPluginDevice(pluginId)._id,
}
}