Fix misleading JSDoc

This commit is contained in:
Cohee
2024-05-12 00:22:36 +03:00
parent 7b472f13af
commit 91945ec77e

View File

@ -818,8 +818,7 @@ $.ajaxPrefilter((options, originalOptions, xhr) => {
/**
* Pings the STserver to check if it is reachable.
* @returns {Promise<boolean>} True if the server is reachable.
* @throws {Error} If the server is unreachable.
* @returns {Promise<boolean>} True if the server is reachable, false otherwise.
*/
export async function pingServer() {
try {