Skip to content

Commit

Permalink
Update src/actions.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Mia <[email protected]>
  • Loading branch information
MCGallaspy and mia-pi-git authored Oct 28, 2024
1 parent aab5c12 commit 0fb1f11
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -909,8 +909,7 @@ export const actions: {[k: string]: QueryHandler} = {
throw new ActionError("Invalid batch replay request, must provide ids");
}
const ids: string[] = params.ids.split(',').slice(0, 51);
const results = await Replays.getBatch(ids);
return results;
return Replays.getBatch(ids);
},
// sent by ps server
async 'smogon/validate'(params) {
Expand Down

0 comments on commit 0fb1f11

Please sign in to comment.