Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
Oluwadaminiola committed Nov 1, 2024
1 parent c6a37a8 commit a393dd9
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ export class CreateSubscriptionComponent implements OnInit {
source_id: [''],
endpoint_id: [null, Validators.required],
function: [null],
// retry_config: this.formBuilder.group({
// type: [],
// retry_count: [null, Validators.pattern('^[-+]?[0-9]+$')],
// duration: []
// }),
filter_config: this.formBuilder.group({
event_types: [null],
filter: this.formBuilder.group({
Expand Down Expand Up @@ -149,7 +144,6 @@ export class CreateSubscriptionComponent implements OnInit {

if (this.token) this.projectType = 'outgoing';

if (response.data?.retry_config) this.toggleConfigForm('retry_config');
if (response.data?.function) this.toggleConfigForm('tranform_config');

return;
Expand Down Expand Up @@ -211,7 +205,6 @@ export class CreateSubscriptionComponent implements OnInit {

async runSubscriptionValidation() {
const configFields: any = {
// retry_config: ['retry_config.type', 'retry_config.retry_count', 'retry_config.duration'],
events: ['filter_config.event_types']
};

Expand Down

0 comments on commit a393dd9

Please sign in to comment.