Fix callback return types

75d0cf828a1615b62283f430d3d777abbbabf2ab

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Ignore whitespace
public/scripts/world-info.js+2 -2
@@ -1340,14 +1340,14 @@ function registerWorldInfoSlashCommands() {
13401340
13411341 async function getGlobalBooksCallback() {
13421342 if (!selected_world_info?.length) {
13431343 return JSON.stringify([]);
13441344 }
13451345
13461346 let entries = selected_world_info.slice();
13471347
13481348 console.debug(`[WI] Selected global world info has ${entries.length} entries`, selected_world_info);
13491349
13501350 return JSON.stringify(entries);
13511351 }
13521352
13531353 SlashCommandParser.addCommandObject(SlashCommand.fromProps({