From e04d77626735774a75dce01623382fe5a15f8f11 Mon Sep 17 00:00:00 2001 From: Jeevan Kishore Date: Thu, 13 Jun 2024 15:28:44 +0530 Subject: [PATCH] fix(bulk): Bulk req fix (#96) --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 26a9f68..d51c25c 100644 --- a/index.js +++ b/index.js @@ -1042,7 +1042,8 @@ class Client { } async getInBulk(requests) { - const requestHash = hash(requests); + const config = await this.getConfig(); + const requestHash = hash({ ...requests, ...{ publisherId: config["publisher-id"] } }); async function getBulkLocation() { const response = await this.request("/api/v1/bulk-request", {