File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
meteor/server/publications Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,8 @@ export function convertPeripheralDeviceForGateway(
6868 const allDeviceSettingsInStudio = applyAndValidateOverrides (
6969 studio . peripheralDeviceSettings . deviceSettings
7070 ) . obj
71- deviceSettings = allDeviceSettingsInStudio [ peripheralDevice . studioAndConfigId . configId ] ?? deviceSettings
71+ deviceSettings =
72+ allDeviceSettingsInStudio [ peripheralDevice . studioAndConfigId . configId ] ?. options ?? deviceSettings
7273 }
7374
7475 switch ( peripheralDevice . category ) {
@@ -116,6 +117,8 @@ export function convertPeripheralDeviceForGateway(
116117 }
117118 }
118119
120+ console . log ( 'got' , peripheralDevice . _id , deviceSettings )
121+
119122 return literal < Complete < PeripheralDeviceForDevice > > ( {
120123 _id : peripheralDevice . _id ,
121124 studioId : peripheralDevice . studioAndConfigId ?. studioId ,
You can’t perform that action at this time.
0 commit comments