fix: Fixed validation is set settings

This commit is contained in:
Davidson Gomes 2023-07-24 20:11:15 -03:00
parent 3d8e6f4394
commit 84f3f07279
2 changed files with 1 additions and 5 deletions

View File

@ -15,10 +15,6 @@ export class SettingsController {
'requested createSettings from ' + instance.instanceName + ' instance', 'requested createSettings from ' + instance.instanceName + ' instance',
); );
if (data.reject_call && data.msg_call.trim() == '') {
throw new BadRequestException('msg_call is required');
}
return this.settingsService.create(instance, data); return this.settingsService.create(instance, data);
} }