websockets implemented
This commit is contained in:
@@ -156,7 +156,7 @@ class SettingsService extends BaseService{
|
||||
include: [
|
||||
{
|
||||
model: UserParamType,
|
||||
as: 'user_param_type',
|
||||
as: 'user_param_value_type',
|
||||
where: { description: type }
|
||||
}
|
||||
]
|
||||
@@ -264,7 +264,6 @@ class SettingsService extends BaseService{
|
||||
async updateVisibility(hashedUserId, userParamTypeId, visibilityId) {
|
||||
try {
|
||||
const user = await this.getUserByHashedId(hashedUserId);
|
||||
console.log(JSON.stringify(user));
|
||||
if (!user) {
|
||||
throw new Error('User not found');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user