From 122af9a3791e689232aec0a88c07823b88b3511e Mon Sep 17 00:00:00 2001 From: laurent Date: Wed, 22 May 2024 08:16:11 +0100 Subject: [PATCH] Removed extraneous query params "appId" in requests made by digital_identity_service --- src/digital_identity_service/index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/digital_identity_service/index.js b/src/digital_identity_service/index.js index 51fe41ae..74bd8fa6 100644 --- a/src/digital_identity_service/index.js +++ b/src/digital_identity_service/index.js @@ -68,7 +68,6 @@ class DigitalIdentityService { .withHeader('X-Yoti-Auth-Id', this.sdkId) .withPemString(this.pem.toString()) .withEndpoint('/v2/sessions') - .withQueryParam('appId', this.sdkId) .withMethod('POST') .withPayload(payload); @@ -107,7 +106,6 @@ class DigitalIdentityService { .withHeader('X-Yoti-Auth-Id', this.sdkId) .withPemString(this.pem.toString()) .withEndpoint(`/v2/sessions/${sessionId}`) - .withQueryParam('appId', this.sdkId) .withMethod('GET'); const request = requestBuilder.build(); @@ -148,7 +146,6 @@ class DigitalIdentityService { .withHeader('X-Yoti-Auth-Id', this.sdkId) .withPemString(this.pem.toString()) .withEndpoint(`/v2/sessions/${sessionId}/qr-codes`) - .withQueryParam('appId', this.sdkId) .withMethod('POST') .withPayload(payload); @@ -187,7 +184,6 @@ class DigitalIdentityService { .withHeader('X-Yoti-Auth-Id', this.sdkId) .withPemString(this.pem.toString()) .withEndpoint(`/v2/qr-codes/${qrCodeId}`) - .withQueryParam('appId', this.sdkId) .withMethod('GET'); const request = requestBuilder.build(); @@ -225,7 +221,6 @@ class DigitalIdentityService { .withHeader('X-Yoti-Auth-Id', this.sdkId) .withPemString(this.pem.toString()) .withEndpoint(`/v2/receipts/${receiptIdUrl}`) - .withQueryParam('appId', this.sdkId) .withMethod('GET') .build(); @@ -250,7 +245,6 @@ class DigitalIdentityService { .withHeader('X-Yoti-Auth-Id', this.sdkId) .withPemString(this.pem.toString()) .withEndpoint(`/v2/wrapped-item-keys/${receiptItemKeyId}`) - .withQueryParam('appId', this.sdkId) .withMethod('GET') .build();