summary refs log tree commit diff
path: root/src/api/routes/users/@me/mfa/webauthn/credentials
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-19 21:06:12 +0100
committerRory& <root@rory.gay>2025-12-19 21:06:12 +0100
commit6162fbd5205f805b6f67fdf2f8ab9cce0c03aec2 (patch)
tree37a7a9d9ecd10307a05ee3aa50f5e18e335d0d7a /src/api/routes/users/@me/mfa/webauthn/credentials
parentprettier: ignore schemaExclusions.json (diff)
downloadserver-ts-6162fbd5205f805b6f67fdf2f8ab9cce0c03aec2.tar.xz
Deprecation: Use object-based relations for typeorm
Diffstat (limited to 'src/api/routes/users/@me/mfa/webauthn/credentials')
-rw-r--r--src/api/routes/users/@me/mfa/webauthn/credentials/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/users/@me/mfa/webauthn/credentials/index.ts b/src/api/routes/users/@me/mfa/webauthn/credentials/index.ts

index 50bf341c..f99f7b3d 100644 --- a/src/api/routes/users/@me/mfa/webauthn/credentials/index.ts +++ b/src/api/routes/users/@me/mfa/webauthn/credentials/index.ts
@@ -81,7 +81,7 @@ router.post( id: req.user_id, }, select: { data: true, id: true, disabled: true, deleted: true, totp_secret: true, mfa_enabled: true, username: true }, - relations: ["settings"], + relations: { settings: true }, }); if (isGenerateSchema(req.body)) {