Adjsut /api return values
| @@ -8488,6 +8488,9 @@ async function connectAPISlash(args, text) { | |||
| 8488 | 8488 | ||
| 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 | } |
| 8492 | 8495 | ||
| 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 | } |
| 8525 | 8528 | ||
| 8526 | toastr.clear(toast); | 8529 | toastr.clear(toast); |
| 8527 | return ''; | 8530 | return text; |
| 8528 | } | 8531 | } |
| 8529 | 8532 | ||
| 8530 | /** | 8533 | /** |