Skip to content

Commit

Permalink
addressing review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhnewatiya-plivo committed May 17, 2024
1 parent 19a1ed4 commit e42cf0d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,6 @@ func CreateWhatsappInteractive(interactiveData string) (interactive Interactive,
}
validate := validator.New()
err = validate.Struct(interactive)
if err != nil {
return
}
return
}

Expand All @@ -193,9 +190,6 @@ func CreateWhatsappLocation(locationData string) (location Location, err error)
}
validate := validator.New()
err = validate.Struct(location)
if err != nil {
return
}
return
}

Expand All @@ -205,9 +199,6 @@ func CreateWhatsappTemplate(templateData string) (template Template, err error)
return
}
err = validateWhatsappTemplate(template)
if err != nil {
return
}
return
}

Expand Down

0 comments on commit e42cf0d

Please sign in to comment.