summary refs log tree commit diff
path: root/api
diff options
context:
space:
mode:
authorxnacly <matteogropp@protonmail.com>2021-08-30 16:10:58 +0200
committerxnacly <matteogropp@protonmail.com>2021-08-30 16:10:58 +0200
commit12a227d3fc526bb9000b674690788f31973b7695 (patch)
treeaec500f7c386ed5aaf55d4f6ef5d183ed3211589 /api
parentfixed translation path to display correct error msg (diff)
downloadserver-12a227d3fc526bb9000b674690788f31973b7695.tar.xz
fixed wrong statuscode in docs
Diffstat (limited to 'api')
-rw-r--r--api/src/routes/auth/register.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/auth/register.ts b/api/src/routes/auth/register.ts
index b0d8c9bd..b41ef82c 100644
--- a/api/src/routes/auth/register.ts
+++ b/api/src/routes/auth/register.ts
@@ -237,6 +237,6 @@ export default router;
  * Field Error
  * @returns { "code": 50035, "errors": { "consent": { "_errors": [{ "code": "CONSENT_REQUIRED", "message": "You must agree to Discord's Terms of Service and Privacy Policy." }]}}, "message": "Invalid Form Body"}
  *
- * Success 201:
+ * Success 200:
  * @returns {token: "OMITTED"}
  */