Hot Fix For Input Validation

This commit is contained in:
Jack
2024-12-18 10:38:20 +02:00
parent 7b3f97129c
commit 873a2fb87c
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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"
+3 -1
View File
@@ -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) {