Adjsut /api return values

954b77f16cd8f1f43f9f1e290738e9e035096421

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

1 files changed, +4 -1Showing whitespace changes
public/script.js+4 -1
@@ -8488,6 +8488,9 @@ async function connectAPISlash(args, text) {
84888488
84898489 return key;
84908490 }
8491+
8492+ console.error('FIXME: The current API is not in the API map');
8493+ return '';
84918494 }
84928495
84938496 const apiConfig = CONNECT_API_MAP[text.toLowerCase()];
@@ -8524,7 +8527,7 @@ async function connectAPISlash(args, text) {
85248527 }
85258528
85268529 toastr.clear(toast);
85278530 return ''text;
85288531}
85298532
85308533/**