diff --git a/models/template.go b/models/template.go index b6630d38..5f383ed0 100644 --- a/models/template.go +++ b/models/template.go @@ -36,31 +36,28 @@ func (t *Template) Validate() error { } // Test that the variables used in the template // validate with no issues - td := struct { - Result - URL string - TrackingURL string - Tracker string - From string - }{ - Result{ - BaseRecipient: BaseRecipient{ - Email: "foo@bar.com", - FirstName: "Foo", - LastName: "Bar", - Position: "Test", - }, - }, - "http://foo.bar", - "http://foo.bar/track", - "