Adjsut /api return values

This commit is contained in:
Cohee
2024-08-22 19:45:27 +03:00
parent 880233122c
commit 954b77f16c

View File

@ -8488,6 +8488,9 @@ async function connectAPISlash(args, text) {
return key; return key;
} }
console.error('FIXME: The current API is not in the API map');
return '';
} }
const apiConfig = CONNECT_API_MAP[text.toLowerCase()]; const apiConfig = CONNECT_API_MAP[text.toLowerCase()];
@ -8524,7 +8527,7 @@ async function connectAPISlash(args, text) {
} }
toastr.clear(toast); toastr.clear(toast);
return ''; return text;
} }
/** /**