From da6b036b8a264518928edcd4082c8a919613da3a Mon Sep 17 00:00:00 2001 From: Richard Park Date: Tue, 22 Sep 2020 15:52:08 -0700 Subject: [PATCH] Fixing broken option - we renamed it to maxWaitTimeInMs a few previews back. --- .../service-bus/samples/javascript/receiveMessagesLoop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/servicebus/service-bus/samples/javascript/receiveMessagesLoop.js b/sdk/servicebus/service-bus/samples/javascript/receiveMessagesLoop.js index e5b941cfe5f5..880029da590b 100644 --- a/sdk/servicebus/service-bus/samples/javascript/receiveMessagesLoop.js +++ b/sdk/servicebus/service-bus/samples/javascript/receiveMessagesLoop.js @@ -28,7 +28,7 @@ async function main() { try { for (let i = 0; i < 10; i++) { const messages = await queueReceiver.receiveMessages(1, { - maxWaitTimeSeconds: 5 + maxWaitTimeInMs: 5000 }); if (!messages.length) { console.log("No more messages to receive");