Adjsut /api return values

954b77f16cd8f1f43f9f1e290738e9e035096421

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +4 -1Ignore whitespace
public/script.js+4 -1
@@ -8488,6 +8488,9 @@ async function connectAPISlash(args, text) {
84888488
8489 return key;8489 return key;
8490 }8490 }
8491
8492 console.error('FIXME: The current API is not in the API map');
8493 return '';
8491 }8494 }
84928495
8493 const apiConfig = CONNECT_API_MAP[text.toLowerCase()];8496 const apiConfig = CONNECT_API_MAP[text.toLowerCase()];
@@ -8524,7 +8527,7 @@ async function connectAPISlash(args, text) {
8524 }8527 }
85258528
8526 toastr.clear(toast);8529 toastr.clear(toast);
8527 return '';8530 return text;
8528}8531}
85298532
8530/**8533/**