From 86a3881cfbb543d5220144687c8bc7a82a3ff448 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 6 Apr 2023 17:46:21 -0400 Subject: [PATCH] *remove debug --- src/index.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/index.ts b/src/index.ts index 1c5f5a6..de98f70 100644 --- a/src/index.ts +++ b/src/index.ts @@ -423,17 +423,6 @@ async function handleSyncProtomux(aq: ActiveQuery) { aq.reject("action required"); return; } - if (!("data" in aq.callerInput)) { - aq.reject("data required"); - return; - } - - if (isNaN(parseInt(aq.callerInput))) { - aq.reject("data must be a number"); - return; - } - - debugger; const mux = Protomux.from(socket); let mutex: Mutex | null = null;