mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-31 15:55:40 +00:00
A little bit of formatting cleanup
This commit is contained in:
@@ -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