From 89391e67d8d283e41f2bd0b58edaf577b5a1154d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B0=D0=BB=D0=B5=D1=80=D0=B8=D0=B8=CC=86=20=D0=A1?= =?UTF-8?q?=D1=82=D0=B0=D0=B4=D1=87=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Mon, 29 Dec 2025 15:21:34 +0300 Subject: [PATCH] fix --- ottomain.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ottomain.go b/ottomain.go index 403a699..02a10aa 100644 --- a/ottomain.go +++ b/ottomain.go @@ -73,14 +73,6 @@ func ProcessRequest(script string, params map[string]interface{}) (response map[ // Initialize semaphore and config once once.Do(initSemaphore) - // Validate input - if script == "" { - return nil, fmt.Errorf("script cannot be empty") - } - if params == nil { - return nil, fmt.Errorf("params cannot be nil") - } - // Acquire semaphore to limit concurrent executions select { case semaphore <- struct{}{}: