Skip to content

Commit

Permalink
Merge pull request #11 from unclecheese/patch-1
Browse files Browse the repository at this point in the history
MINOR: Remove validation for template ID
  • Loading branch information
zanderwar authored May 3, 2018
2 parents 291d9cd + 965e95f commit 0ba4ac0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/SendGrid.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,6 @@ public function validate()
throw new \InvalidArgumentException('You must provide a subject');
}

if (!$this->getTemplateId()) {
throw new \InvalidArgumentException('You must provide a template id');
}

if (!$this->getBody()) {
throw new \InvalidArgumentException('You must provide a body');
}
Expand Down

0 comments on commit 0ba4ac0

Please sign in to comment.