Hot Fix For Input Validation
This commit is contained in:
+1
-1
@@ -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
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user