fix(stalker): omit empty handshake token

This commit is contained in:
4gray committed 2026-07-27 11:30:33 +02:00
1 parent e66ef84df1
commit 38c07e13a3
2 files changed
+4 -1

No files matched your search

@@ -162,6 +162,10 @@ describe('StalkerEndpointResolver', () => {
(request) => request.params?.['action'] === 'handshake'
)
).toHaveLength(1);
const handshakeRequest = harness.calls.find(
(request) => request.params?.['action'] === 'handshake'
);
expect(handshakeRequest?.params).not.toHaveProperty('token');
const profileRequest = harness.calls.find(
(request) => request.params?.['action'] === 'get_profile'
);
@@ -245,7 +245,6 @@ export class StalkerEndpointResolver {
params: {
action: 'handshake',
JsHttpRequest: '1-xml',
token: '',
type: 'stb',
},
url: input.endpoint,