From 32957473860d45a953252a818f93cb753a8c95a8 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Wed, 16 Dec 2020 12:25:10 -0700 Subject: [PATCH] Update success from a boolean to an integer status --- server/events.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/events.md b/server/events.md index 0274ca6..d9f0acb 100644 --- a/server/events.md +++ b/server/events.md @@ -1,8 +1,8 @@ # Properties Of All Response Payloads | Property | Type | Description | -------- | ---- | ----------- -| success | Boolean | Whether the player joined the team successfully. -| message? | String | More information relating to the response. This is set iff `success` is `false`. +| status | Integer | The response code of the server. This follows HTTP standards as described by [Mozilla's Documentation](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) +| message? | String | More information relating to the response. This is set iff `success` is a non 2XX value.

---