From 91945ec77ee0ae85c5b838b586abe92eaf172d0a Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sun, 12 May 2024 00:22:36 +0300 Subject: [PATCH] Fix misleading JSDoc --- public/script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/script.js b/public/script.js index 883e69d23..59d60b325 100644 --- a/public/script.js +++ b/public/script.js @@ -818,8 +818,7 @@ $.ajaxPrefilter((options, originalOptions, xhr) => { /** * Pings the STserver to check if it is reachable. - * @returns {Promise} True if the server is reachable. - * @throws {Error} If the server is unreachable. + * @returns {Promise} True if the server is reachable, false otherwise. */ export async function pingServer() { try {