A little bit of formatting cleanup
This commit is contained in:
parent
9baeb19499
commit
43046f401d
@ -125,9 +125,11 @@ export class UserSettingsProtos extends BaseClassWithoutId {
|
||||
where: { id: user_id },
|
||||
select: { settings: true },
|
||||
});
|
||||
|
||||
let userSettings = await UserSettingsProtos.findOne({
|
||||
where: { user_id },
|
||||
});
|
||||
|
||||
let modified = false;
|
||||
if (!userSettings) {
|
||||
userSettings = UserSettingsProtos.create({
|
||||
|
||||
Reference in New Issue
Block a user