From 873a2fb87c335ce449ef0426c4688cd9e4d6daae Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 18 Dec 2024 10:34:19 +0200 Subject: [PATCH] Hot Fix For Input Validation --- __init__.py | 2 +- clientlibs/utils.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/__init__.py b/__init__.py index 643926a..4128941 100644 --- a/__init__.py +++ b/__init__.py @@ -17,7 +17,7 @@ from .modules.embeddingSearch import embeddingSearch from .modules.embeddingsCombine import embeddingsCombine from .modules.vaeSearch import vaeSearch -RUNWARE_COMFYUI_VERSION = "0.9.3 Beta" +RUNWARE_COMFYUI_VERSION = "0.9.4 Beta" RESET_COLOR = "\033[0m" BLUE_COLOR = "\033[94m" diff --git a/clientlibs/utils.js b/clientlibs/utils.js index fd6bbfd..6d0d3e0 100644 --- a/clientlibs/utils.js +++ b/clientlibs/utils.js @@ -212,8 +212,10 @@ function handleCustomErrors(errObj) { e.stopPropagation(); const apiKey = apiKeyInput.value.trim(); if(apiKey.length < 30) { - notifyUser("Invalid API Key Set, Please Try Again!", "error", "Runware API Manager"); + runwareAPIForm.reportValidity(); return; + // notifyUser("Invalid API Key Set, Please Try Again!", "error", "Runware API Manager"); + // return; } else { const setAPIKeyResults = await setAPIKey(apiKey); if(setAPIKeyResults.success) {