mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 12:06:16 -08:00
fix(stalker): omit empty handshake token
This commit is contained in:
1 parent
e66ef84df1
commit
38c07e13a3
2 files changed
+4
-1
No files matched your search
+4
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user