Fix UserSettings relation being in select rather than relations

This commit is contained in:
Madeline
2023-03-16 11:31:24 +11:00
parent bd5f750024
commit 4d06b86d7b
4 changed files with 7 additions and 6 deletions
@@ -89,11 +89,11 @@ router.post(
"id",
"disabled",
"deleted",
"settings",
"totp_secret",
"mfa_enabled",
"username",
],
relations: ["settings"],
});
if (isGenerateSchema(req.body)) {