summary refs log tree commit diff
path: root/src/api/routes/users/@me/mfa/totp
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/users/@me/mfa/totp
parentImplement applications/@me (diff)
downloadserver-ts-dev/openapi-improvements.tar.xz
Diffstat (limited to 'src/api/routes/users/@me/mfa/totp')
-rw-r--r--src/api/routes/users/@me/mfa/totp/disable.ts2
-rw-r--r--src/api/routes/users/@me/mfa/totp/enable.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/api/routes/users/@me/mfa/totp/disable.ts b/src/api/routes/users/@me/mfa/totp/disable.ts

index b266fcfe8..6d02ba06f 100644 --- a/src/api/routes/users/@me/mfa/totp/disable.ts +++ b/src/api/routes/users/@me/mfa/totp/disable.ts
@@ -37,7 +37,7 @@ router.post( 200: { body: "TokenOnlyResponse", }, - 400: { + "4XX": { body: "APIErrorResponse", }, }, diff --git a/src/api/routes/users/@me/mfa/totp/enable.ts b/src/api/routes/users/@me/mfa/totp/enable.ts
index 3d6f4a80d..c8a9c0cd1 100644 --- a/src/api/routes/users/@me/mfa/totp/enable.ts +++ b/src/api/routes/users/@me/mfa/totp/enable.ts
@@ -38,7 +38,7 @@ router.post( 200: { body: "TokenWithBackupCodesResponse", }, - 400: { + "4XX": { body: "APIErrorResponse", }, 404: {