Skip to content

Commit db0930a

Browse files
yjkhtddxpatrickmichalina
authored andcommitted
fix: correct ws-probe xml body (#44)
1 parent c6182a2 commit db0930a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ws-discovery/ws-probe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { probe } from '../core/probe'
55
import { IWsProbeConfig, IWsResponse } from './ws-probe.interfaces'
66
import { DEFAULT_WS_PROBE_CONFIG } from './config'
77

8-
const mapDeviceStrToPayload = (str: string) => generateWsDiscoveryProbePayload(str)(generateGuid())
8+
const mapDeviceStrToPayload = (str: string) => generateWsDiscoveryProbePayload(generateGuid())(str)
99
const mapDevicesToPayloads = (devices: readonly string[]) => devices.map(mapDeviceStrToPayload)
1010

1111
export const wsProbe =

0 commit comments

Comments
 (0)