Fix UserSettings relation being in select rather than relations
This commit is contained in:
@@ -89,11 +89,11 @@ router.post(
|
||||
"id",
|
||||
"disabled",
|
||||
"deleted",
|
||||
"settings",
|
||||
"totp_secret",
|
||||
"mfa_enabled",
|
||||
"username",
|
||||
],
|
||||
relations: ["settings"],
|
||||
});
|
||||
|
||||
if (isGenerateSchema(req.body)) {
|
||||
|
||||
Reference in New Issue
Block a user