docs update

This commit is contained in:
Luna 2025-09-24 04:53:06 +02:00
parent ba98362502
commit 3ffd9ed38c
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ The table below shows all of the functions of the taClient. From this point onwa
|loadImage()|**STREAMSYNC MORE DOCS REQUIRED** Set the colour image for users in streamsync?|True| |loadImage()|**STREAMSYNC MORE DOCS REQUIRED** Set the colour image for users in streamsync?|True|
|loadSong()|**does this load for specified users, or for a match**Load a song to the users in a match.|True| |loadSong()|**does this load for specified users, or for a match**Load a song to the users in a match.|True|
|on()|This is the standard listener. This is how events such as real time score can be subscribed to.|True| |on()|This is the standard listener. This is how events such as real time score can be subscribed to.|True|
|once()|**PROBABLY THE SAME AS .ON()???**|True| |once()|Same as on, except only triggered once.|True|
|playSong()|Play the currently loaded song for the specified players.|True| |playSong()|Play the currently loaded song for the specified players.|True|
|removeAuthorizedUser()|Remove an authorised user from a tournament.|True| |removeAuthorizedUser()|Remove an authorised user from a tournament.|True|
|removeListener()|Remove a listener which was previously subscribed to. Do this when your application terminates.|True| |removeListener()|Remove a listener which was previously subscribed to. Do this when your application terminates.|True|

View file

@ -35,6 +35,6 @@ export async function GET({ params }) {
}); });
} catch (err) { } catch (err) {
console.error(`Error reading documentation file: ${filePath}`, err); console.error(`Error reading documentation file: ${filePath}`, err);
throw error(500, 'Error loading documentation'); throw error(500, JSON.stringify({ error: 'Error loading documentation', err: err }));
} }
} }