From 0f42fb639a6b3619de097ec0f819499200c9f6b7 Mon Sep 17 00:00:00 2001 From: Ikenna Omekam Date: Fri, 17 Nov 2023 10:51:32 -0800 Subject: [PATCH] fix: ensure that we wrap pegasusConnectionsAdmin with E (#8526) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- packages/pegasus/src/proposals/core-proposal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/pegasus/src/proposals/core-proposal.js b/packages/pegasus/src/proposals/core-proposal.js index d1f97aa69fa..f11ac823462 100644 --- a/packages/pegasus/src/proposals/core-proposal.js +++ b/packages/pegasus/src/proposals/core-proposal.js @@ -70,10 +70,10 @@ export const addPegasusTransferPort = async ( const { localAddr, actions } = connectionState; if (actions) { // We're open and ready for business. - pegasusConnectionsAdmin.update(localAddr, connectionState); + void E(pegasusConnectionsAdmin).update(localAddr, connectionState); } else { // We're closed. - pegasusConnectionsAdmin.delete(localAddr); + void E(pegasusConnectionsAdmin).delete(localAddr); } }, });