diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-03-16 11:31:24 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-03-16 11:31:24 +1100 |
commit | 4d06b86d7b9867f77aafc91512e8c4acf3ae3eff (patch) | |
tree | 442353828a5c3a667e078e657198c3b571a9df91 /src/api/routes/users/@me/mfa/webauthn | |
parent | Remove client_test folder (diff) | |
download | server-4d06b86d7b9867f77aafc91512e8c4acf3ae3eff.tar.xz |
Fix UserSettings relation being in `select` rather than `relations`
Diffstat (limited to 'src/api/routes/users/@me/mfa/webauthn')
-rw-r--r-- | src/api/routes/users/@me/mfa/webauthn/credentials/index.ts | 2 |
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 a33e06ce..85fb251c 100644 --- a/src/api/routes/users/@me/mfa/webauthn/credentials/index.ts +++ b/src/api/routes/users/@me/mfa/webauthn/credentials/index.ts @@ -89,11 +89,11 @@ router.post( "id", "disabled", "deleted", - "settings", "totp_secret", "mfa_enabled", "username", ], + relations: ["settings"], }); if (isGenerateSchema(req.body)) { |