Skip to content

Commit

Permalink
Fix description for the autohost/addPlayer request
Browse files Browse the repository at this point in the history
  • Loading branch information
p2004a committed Sep 23, 2024
1 parent 0976bff commit d74e7fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/schema/autohost.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Autohosts used for custom games should use the dedicated mode as lots of pregame

## AddPlayer

Request to kill a battle.
Request to add a new player to the battle.

- Endpoint Type: **Event**
- Source: **Server**
Expand Down
2 changes: 1 addition & 1 deletion src/schema/autohost/addPlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { userId } from "@/schema/definitions/userId";
export default defineEndpoint({
source: "server",
target: "autohost",
description: "Request to kill a battle.",
description: "Request to add a new player to the battle.",
request: {
data: Type.Object({
battleId: Type.String({ format: "uuid" }),
Expand Down

0 comments on commit d74e7fe

Please sign in to comment.