{"action":"closed","issue":{"url":"https://api.github.com/repos/niftylettuce/email-templates/issues/301","repository_url":"https://api.github.com/repos/niftylettuce/email-templates","labels_url":"https://api.github.com/repos/niftylettuce/email-templates/issues/301/labels{/name}","comments_url":"https://api.github.com/repos/niftylettuce/email-templates/issues/301/comments","events_url":"https://api.github.com/repos/niftylettuce/email-templates/issues/301/events","html_url":"https://github.com/niftylettuce/email-templates/issues/301","id":326281008,"number":301,"title":"Problem rendering templates","user":{"login":"Luisdv93","id":7731089,"avatar_url":"https://avatars2.githubusercontent.com/u/7731089?v=4","gravatar_id":"","url":"https://api.github.com/users/Luisdv93","html_url":"https://github.com/Luisdv93","followers_url":"https://api.github.com/users/Luisdv93/followers","following_url":"https://api.github.com/users/Luisdv93/following{/other_user}","gists_url":"https://api.github.com/users/Luisdv93/gists{/gist_id}","starred_url":"https://api.github.com/users/Luisdv93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luisdv93/subscriptions","organizations_url":"https://api.github.com/users/Luisdv93/orgs","repos_url":"https://api.github.com/users/Luisdv93/repos","events_url":"https://api.github.com/users/Luisdv93/events{/privacy}","received_events_url":"https://api.github.com/users/Luisdv93/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-24T20:30:52Z","updated_at":"2018-05-26T02:10:39Z","closed_at":"2018-05-26T02:10:39Z","author_association":"NONE","body":"I'm having 2 problems right now, hopefully the first one will be resolved once I figure out the second one. I'd also like to use this chance to ask how would I handle sending different templates. Right now I'm just using a test template but I plan using different ones.\r\n\r\nI'm using handlebars as my templating engine.\r\n\r\n1.-  I'm getting an error from my service (registration), the registration works and it sends the email so I'm guessing it's related to second problem and that's why the promise is returning an error.\r\n\r\n2.- The email is not using the templates, I already specified the correct path for the templates, but I'm not sure if something is wrong with my configuration.\r\n\r\n\r\n\r\n**I'm leaving a gist with my email function** \r\n\r\nhttps://gist.github.com/Luisdv93/f5126a530bef250a03ec0ea535be3f59\r\n\r\nThanks in advance.\r\n"}}
{"actor":{"display_login":"Luisdv93"}}