summary refs log tree commit diff
path: root/src/api/routes/auth/mfa/webauthn.ts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-10-16 09:39:21 +0200
committerRory& <root@rory.gay>2025-10-16 09:39:21 +0200
commit157cd64a665873d3a36905c0b9ea1705f8d5891d (patch)
tree36c4b07f25b7e57f6905479cff0490f421847e25 /src/api/routes/auth/mfa/webauthn.ts
parentImplement applications/@me (diff)
downloadserver-ts-dev/openapi-improvements.tar.xz
Diffstat (limited to 'src/api/routes/auth/mfa/webauthn.ts')
-rw-r--r--src/api/routes/auth/mfa/webauthn.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/auth/mfa/webauthn.ts b/src/api/routes/auth/mfa/webauthn.ts

index 80ff57f0f..7ec385cb8 100644 --- a/src/api/routes/auth/mfa/webauthn.ts +++ b/src/api/routes/auth/mfa/webauthn.ts
@@ -45,7 +45,7 @@ router.post( requestBody: "WebAuthnTotpSchema", responses: { 200: { body: "TokenResponse" }, - 400: { body: "APIErrorResponse" }, + "4XX": { body: "APIErrorResponse" }, }, }), async (req: Request, res: Response) => {