From e5a955e6662f017edb506b2b84ff5522df900ed2 Mon Sep 17 00:00:00 2001 From: Samuel Elliott Date: Wed, 24 Aug 2022 19:21:27 +0100 Subject: [PATCH] Fix sending `request_id` when using nxapi's `f`-generation API --- src/api/f.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/api/f.ts b/src/api/f.ts index fcc5827..6240d0b 100644 --- a/src/api/f.ts +++ b/src/api/f.ts @@ -296,10 +296,8 @@ export class ZncaApiNxapi extends ZncaApi { return { provider: 'nxapi' as const, url: this.url + '/f', - token, + hash_method, token, request_id, timestamp: result.timestamp!, // will be included as not sent in request - request_id: result.request_id!, - hash_method, f: result.f, result, };