summary refs log tree commit diff
path: root/api/src/routes/auth/register.ts
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
commite2a61b44bbb1f4e24f2226db5ef7f9d388c5d961 (patch)
tree89a91e6c4910d2bd62ca9346a9a7ad4451aa6c99 /api/src/routes/auth/register.ts
parentfixed translation path to display correct error msg (diff)
downloadserver-e2a61b44bbb1f4e24f2226db5ef7f9d388c5d961.tar.xz
fixed wrong statuscode in docs
Diffstat (limited to '')
-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"}
  */